409-mtd-rb4xx_nand_driver.patch 817 B

123456789101112131415161718192021
  1. --- a/drivers/mtd/nand/Kconfig
  2. +++ b/drivers/mtd/nand/Kconfig
  3. @@ -563,4 +563,8 @@ config MTD_NAND_MTK
  4. Enables support for NAND controller on MTK SoCs.
  5. This controller is found on mt27xx, mt81xx, mt65xx SoCs.
  6. +config MTD_NAND_RB4XX
  7. + tristate "NAND flash driver for RouterBoard 4xx series"
  8. + depends on MTD_NAND && ATH79_MACH_RB4XX
  9. +
  10. endif # MTD_NAND
  11. --- a/drivers/mtd/nand/Makefile
  12. +++ b/drivers/mtd/nand/Makefile
  13. @@ -34,6 +34,7 @@ obj-$(CONFIG_MTD_NAND_CM_X270) += cmx27
  14. obj-$(CONFIG_MTD_NAND_PXA3xx) += pxa3xx_nand.o
  15. obj-$(CONFIG_MTD_NAND_TMIO) += tmio_nand.o
  16. obj-$(CONFIG_MTD_NAND_PLATFORM) += plat_nand.o
  17. +obj-$(CONFIG_MTD_NAND_RB4XX) += rb4xx_nand.o
  18. obj-$(CONFIG_MTD_NAND_PASEMI) += pasemi_nand.o
  19. obj-$(CONFIG_MTD_NAND_ORION) += orion_nand.o
  20. obj-$(CONFIG_MTD_NAND_OXNAS) += oxnas_nand.o