400-oxnas-nand.patch 901 B

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