413-mtd-ar934x-nand-driver.patch 957 B

12345678910111213141516171819202122232425
  1. --- a/drivers/mtd/nand/Kconfig
  2. +++ b/drivers/mtd/nand/Kconfig
  3. @@ -524,4 +524,12 @@ config MTD_NAND_RB750
  4. tristate "NAND flash driver for the RouterBoard 750"
  5. depends on MTD_NAND && ATH79_MACH_RB750
  6. +config MTD_NAND_AR934X
  7. + tristate "NAND flash driver for the Qualcomm Atheros AR934x/QCA955x SoCs"
  8. + depends on (SOC_AR934X || SOC_QCA955X)
  9. +
  10. +config MTD_NAND_AR934X_HW_ECC
  11. + bool "Hardware ECC support for the AR934X NAND Controller (EXPERIMENTAL)"
  12. + depends on MTD_NAND_AR934X
  13. +
  14. endif # MTD_NAND
  15. --- a/drivers/mtd/nand/Makefile
  16. +++ b/drivers/mtd/nand/Makefile
  17. @@ -13,6 +13,7 @@ obj-$(CONFIG_MTD_NAND_AMS_DELTA) += ams-
  18. obj-$(CONFIG_MTD_NAND_DENALI) += denali.o
  19. obj-$(CONFIG_MTD_NAND_DENALI_PCI) += denali_pci.o
  20. obj-$(CONFIG_MTD_NAND_DENALI_DT) += denali_dt.o
  21. +obj-$(CONFIG_MTD_NAND_AR934X) += ar934x_nfc.o
  22. obj-$(CONFIG_MTD_NAND_AU1550) += au1550nd.o
  23. obj-$(CONFIG_MTD_NAND_BF5XX) += bf5xx_nand.o
  24. obj-$(CONFIG_MTD_NAND_S3C2410) += s3c2410.o