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

1234567891011121314151617181920212223242526272829
  1. Index: linux-4.14.18/drivers/mtd/Kconfig
  2. ===================================================================
  3. --- linux-4.14.18.orig/drivers/mtd/Kconfig
  4. +++ linux-4.14.18/drivers/mtd/Kconfig
  5. @@ -194,6 +194,12 @@ config MTD_MYLOADER_PARTS
  6. You will still need the parsing functions to be called by the driver
  7. for your particular device. It won't happen automatically.
  8. +config MTD_TPLINK_PARTS
  9. + tristate "TP-Link AR7XXX/AR9XXX partitioning support"
  10. + depends on ATH79
  11. + ---help---
  12. + TBD.
  13. +
  14. comment "User Modules And Translation Layers"
  15. #
  16. Index: linux-4.14.18/drivers/mtd/Makefile
  17. ===================================================================
  18. --- linux-4.14.18.orig/drivers/mtd/Makefile
  19. +++ linux-4.14.18/drivers/mtd/Makefile
  20. @@ -18,6 +18,7 @@ obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63
  21. obj-$(CONFIG_MTD_BCM47XX_PARTS) += bcm47xxpart.o
  22. obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
  23. obj-y += parsers/
  24. +obj-$(CONFIG_MTD_TPLINK_PARTS) += tplinkpart.o
  25. # 'Users' - code which presents functionality to userspace.
  26. obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o