Changeset 44792


Ignore:
Timestamp:
2015-03-15T20:39:27+01:00 (3 years ago)
Author:
blogic
Message:

kernel: mtdsplit: add support for FIT image

If this option is enabled, the FIT image format will be detected and
split by the mtdsplit code. Detection is based upon the FDT magic, which
will trigger the parsing and detection of the rootfs, ending-up in the
creation of the 2 new partitions.

Signed-off-by: Mathieu Olivari <mathieu@…>

Location:
trunk/target/linux/generic
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/config-3.18

    r44756 r44792  
    22432243# CONFIG_MTD_SPLIT_FIRMWARE is not set 
    22442244CONFIG_MTD_SPLIT_FIRMWARE_NAME="firmware" 
     2245# CONFIG_MTD_SPLIT_FIT_FW is not set 
    22452246# CONFIG_MTD_SPLIT_LZMA_FW is not set 
    22462247# CONFIG_MTD_SPLIT_SEAMA_FW is not set 
  • trunk/target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig

    r43809 r44792  
    3131        select MTD_SPLIT 
    3232 
     33config MTD_SPLIT_FIT_FW 
     34        bool "FIT based firmware partition parser" 
     35        depends on MTD_SPLIT_SUPPORT 
     36        select MTD_SPLIT 
     37 
    3338config MTD_SPLIT_LZMA_FW 
    3439        bool "LZMA compressed kernel based firmware partition parser" 
  • trunk/target/linux/generic/files/drivers/mtd/mtdsplit/Makefile

    r43809 r44792  
    33obj-$(CONFIG_MTD_SPLIT_SQUASHFS_ROOT) += mtdsplit_squashfs.o 
    44obj-$(CONFIG_MTD_SPLIT_UIMAGE_FW) += mtdsplit_uimage.o 
     5obj-$(CONFIG_MTD_SPLIT_FIT_FW) += mtdsplit_fit.o 
    56obj-$(CONFIG_MTD_SPLIT_LZMA_FW) += mtdsplit_lzma.o 
    67obj-$(CONFIG_MTD_SPLIT_TPLINK_FW) += mtdsplit_tplink.o 
Note: See TracChangeset for help on using the changeset viewer.