400-oxnas-nand.patch 931 B

123456789101112131415161718192021222324
  1. --- a/drivers/mtd/nand/Kconfig
  2. +++ b/drivers/mtd/nand/Kconfig
  3. @@ -563,4 +563,11 @@ config MTD_NAND_QCOM
  4. Enables support for NAND flash chips on SoCs containing the EBI2 NAND
  5. controller. This controller is found on IPQ806x SoC.
  6. +config MTD_NAND_OXNAS
  7. + tristate "Support for NAND on Plxtech NAS782X SoC"
  8. + depends on ARCH_OXNAS
  9. + help
  10. + Enables support for NAND Flash chips on Plxtech NAS782X SoCs. NAND is attached
  11. + to the STATIC Unit.
  12. +
  13. endif # MTD_NAND
  14. --- a/drivers/mtd/nand/Makefile
  15. +++ b/drivers/mtd/nand/Makefile
  16. @@ -46,6 +46,7 @@ obj-$(CONFIG_MTD_NAND_SOCRATES) += socr
  17. obj-$(CONFIG_MTD_NAND_TXX9NDFMC) += txx9ndfmc.o
  18. obj-$(CONFIG_MTD_NAND_NUC900) += nuc900_nand.o
  19. obj-$(CONFIG_MTD_NAND_MPC5121_NFC) += mpc5121_nfc.o
  20. +obj-$(CONFIG_MTD_NAND_OXNAS) += oxnas_nand.o
  21. obj-$(CONFIG_MTD_NAND_VF610_NFC) += vf610_nfc.o
  22. obj-$(CONFIG_MTD_NAND_RICOH) += r852.o
  23. obj-$(CONFIG_MTD_NAND_JZ4740) += jz4740_nand.o