400-oxnas-nand.patch 855 B

123456789101112131415161718192021222324
  1. --- a/drivers/mtd/nand/Kconfig
  2. +++ b/drivers/mtd/nand/Kconfig
  3. @@ -516,4 +516,12 @@ config MTD_NAND_XWAY
  4. Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached
  5. to the External Bus Unit (EBU).
  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. @@ -50,5 +50,6 @@ obj-$(CONFIG_MTD_NAND_JZ4740) += jz4740
  18. obj-$(CONFIG_MTD_NAND_GPMI_NAND) += gpmi-nand/
  19. obj-$(CONFIG_MTD_NAND_XWAY) += xway_nand.o
  20. obj-$(CONFIG_MTD_NAND_BCM47XXNFLASH) += bcm47xxnflash/
  21. +obj-$(CONFIG_MTD_NAND_OXNAS) += oxnas_nand.o
  22. nand-objs := nand_base.o nand_bbt.o nand_timings.o