source: trunk/target/linux/generic/patches-2.6.39/081-mtd_myloader_partition_parser.patch @ 26615

Last change on this file since 26615 was 26615, checked in by nbd, 6 years ago

generic: Add support for 2.6.39

Add support for 2.6.39 based on rc3. Runtime tested on bcm63xx.

File size: 1.3 KB
  • drivers/mtd/Kconfig

    a b config MTD_AR7_PARTS 
    176176 
    177177endif # MTD_PARTITIONS 
    178178 
     179config MTD_MYLOADER_PARTS 
     180        tristate "MyLoader partition parsing" 
     181        depends on MTD_PARTITIONS && (ADM5120 || ATHEROS_AR231X || ATHEROS_AR71XX) 
     182        ---help--- 
     183          MyLoader is a bootloader which allows the user to define partitions 
     184          in flash devices, by putting a table in the second erase block 
     185          on the device, similar to a partition table. This table gives the  
     186          offsets and lengths of the user defined partitions. 
     187 
     188          If you need code which can detect and parse these tables, and 
     189          register MTD 'partitions' corresponding to each image detected, 
     190          enable this option. 
     191 
     192          You will still need the parsing functions to be called by the driver 
     193          for your particular device. It won't happen automatically. 
     194 
    179195comment "User Modules And Translation Layers" 
    180196 
    181197config MTD_CHAR 
  • drivers/mtd/Makefile

    a b obj-$(CONFIG_MTD_REDBOOT_PARTS) += redbo 
    1212obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o 
    1313obj-$(CONFIG_MTD_AFS_PARTS)     += afs.o 
    1414obj-$(CONFIG_MTD_AR7_PARTS)     += ar7part.o 
     15obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o 
    1516 
    1617# 'Users' - code which presents functionality to userspace. 
    1718obj-$(CONFIG_MTD_CHAR)          += mtdchar.o 
Note: See TracBrowser for help on using the repository browser.