405-mtd-tp-link-partition-parser.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. --- a/drivers/mtd/Kconfig
  2. +++ b/drivers/mtd/Kconfig
  3. @@ -214,7 +214,7 @@ config MTD_BCM47XX_PARTS
  4. config MTD_WRT160NL_PARTS
  5. tristate "Linksys WRT160NL partitioning support"
  6. - depends on MTD_PARTITIONS && ATH79_MACH_WRT160NL
  7. + depends on ATH79_MACH_WRT160NL
  8. ---help---
  9. Linksys WRT160NL partitioning support
  10. @@ -234,6 +234,12 @@ config MTD_MYLOADER_PARTS
  11. You will still need the parsing functions to be called by the driver
  12. for your particular device. It won't happen automatically.
  13. +config MTD_TPLINK_PARTS
  14. + tristate "TP-Link AR7XXX/AR9XXX partitioning support"
  15. + depends on ATH79
  16. + ---help---
  17. + TBD.
  18. +
  19. comment "User Modules And Translation Layers"
  20. config MTD_BLKDEVS
  21. --- a/drivers/mtd/Makefile
  22. +++ b/drivers/mtd/Makefile
  23. @@ -20,6 +20,7 @@ obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o
  24. obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63xxpart.o
  25. obj-$(CONFIG_MTD_BCM47XX_PARTS) += bcm47xxpart.o
  26. obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
  27. +obj-$(CONFIG_MTD_TPLINK_PARTS) += tplinkpart.o
  28. obj-$(CONFIG_MTD_WRT160NL_PARTS) += wrt160nl_part.o
  29. # 'Users' - code which presents functionality to userspace.