408-mtd-hook-mtdsplit_seama-into-Kbuild.patch 698 B

1234567891011121314151617181920212223
  1. --- a/drivers/mtd/Kconfig
  2. +++ b/drivers/mtd/Kconfig
  3. @@ -50,6 +50,10 @@ config MTD_SPLIT_SQUASHFS_ROOT
  4. comment "Firmware partition parsers"
  5. +config MTD_SPLIT_SEAMA_FW
  6. + bool "Seama firmware parser"
  7. + select MTD_SPLIT
  8. +
  9. config MTD_SPLIT_UIMAGE_FW
  10. bool "uImage based firmware partition parser"
  11. select MTD_SPLIT
  12. --- a/drivers/mtd/Makefile
  13. +++ b/drivers/mtd/Makefile
  14. @@ -7,6 +7,7 @@ obj-$(CONFIG_MTD) += mtd.o
  15. mtd-y := mtdcore.o mtdsuper.o mtdconcat.o mtdpart.o mtdchar.o
  16. mtd-$(CONFIG_MTD_SPLIT) += mtdsplit.o
  17. +mtd-$(CONFIG_MTD_SPLIT_SEAMA_FW) += mtdsplit_seama.o
  18. mtd-$(CONFIG_MTD_SPLIT_SQUASHFS_ROOT) += mtdsplit_squashfs.o
  19. mtd-$(CONFIG_MTD_SPLIT_UIMAGE_FW) += mtdsplit_uimage.o