--- zzzz-none-000/linux-5.4.213/drivers/mtd/parsers/Kconfig 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/drivers/mtd/parsers/Kconfig 2024-08-14 09:02:07.000000000 +0000 @@ -57,6 +57,17 @@ If unsure, say 'N'. +config MTD_CMDLINE_PARTS_EXT + bool "Support for multiple command line partition table arguments" + default y + depends on MTD_CMDLINE_PARTS + help + Support a variant of the "mtdparts" command line argument, + "mtdparts_ext" which can be specified multiple times, supporting the + same syntax as the original. Multiple arguments are aggregated. + + This is an AVM extension. + config MTD_OF_PARTS tristate "OpenFirmware (device tree) partitioning parser" default y @@ -160,3 +171,28 @@ 'FIS directory' images, enable this option. endif # MTD_REDBOOT_PARTS + +config MTD_MYLOADER_PARTS + tristate "MyLoader partition parsing" + depends on ADM5120 || ATH25 || ATH79 + ---help--- + MyLoader is a bootloader which allows the user to define partitions + in flash devices, by putting a table in the second erase block + on the device, similar to a partition table. This table gives the + offsets and lengths of the user defined partitions. + + If you need code which can detect and parse these tables, and + register MTD 'partitions' corresponding to each image detected, + enable this option. + + You will still need the parsing functions to be called by the driver + for your particular device. It won't happen automatically. + +config MTD_ROUTERBOOT_PARTS + tristate "RouterBoot flash partition parser" + depends on MTD && OF + help + MikroTik RouterBoot is implemented as a multi segment system on the + flash, some of which are fixed and some of which are located at + variable offsets. This parser handles both cases via properly + formatted DTS.