110-flash.patch 923 B

1234567891011121314151617181920212223242526
  1. --- a/drivers/mtd/Kconfig
  2. +++ b/drivers/mtd/Kconfig
  3. @@ -190,6 +190,12 @@ config MTD_MYLOADER_PARTS
  4. You will still need the parsing functions to be called by the driver
  5. for your particular device. It won't happen automatically.
  6. +config MTD_AR7_PARTS
  7. + tristate "TI AR7 partitioning support"
  8. + depends on MTD_PARTITIONS
  9. + ---help---
  10. + TI AR7 partitioning support
  11. +
  12. comment "User Modules And Translation Layers"
  13. config MTD_CHAR
  14. --- a/drivers/mtd/maps/physmap.c
  15. +++ b/drivers/mtd/maps/physmap.c
  16. @@ -87,7 +87,7 @@ static int physmap_flash_remove(struct p
  17. static const char *rom_probe_types[] = { "cfi_probe", "jedec_probe", "map_rom", NULL };
  18. #ifdef CONFIG_MTD_PARTITIONS
  19. -static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL };
  20. +static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", "ar7part", NULL };
  21. #endif
  22. static int physmap_flash_probe(struct platform_device *dev)