--- zzzz-none-000/linux-4.4.271/drivers/mtd/Kconfig 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/drivers/mtd/Kconfig 2023-01-11 09:25:42.000000000 +0000 @@ -12,6 +12,25 @@ if MTD +menu "OpenWrt specific MTD options" + +config MTD_ROOTFS_ROOT_DEV + bool "Automatically set 'rootfs' partition to be root filesystem" + default y + +config MTD_SPLIT_FIRMWARE + bool "Automatically split firmware partition for kernel+rootfs" + default y + +config MTD_SPLIT_FIRMWARE_NAME + string "Firmware partition name" + depends on MTD_SPLIT_FIRMWARE + default "firmware" + +source "drivers/mtd/mtdsplit/Kconfig" + +endmenu + config MTD_TESTS tristate "MTD tests support (DANGEROUS)" depends on m @@ -110,6 +129,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_AFS_PARTS tristate "ARM Firmware Suite partition parsing" depends on ARM @@ -155,6 +185,41 @@ This provides partitions parser for devices based on BCM47xx boards. +config MTD_CYBERTAN_PARTS + tristate "Cybertan partitioning support" + depends on ATH79 + ---help--- + Cybertan partitioning support + +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_QCOM_SMEM_PARTS + tristate "QCOM SMEM partitioning support" + depends on QCOM_SMEM + help + This provides partitions parser for QCOM devices using SMEM + such as IPQ806x. + +config MTD_TPLINK_PARTS + tristate "TP-Link AR7XXX/AR9XXX partitioning support" + depends on ATH79 + ---help--- + TBD. + comment "User Modules And Translation Layers" # @@ -338,4 +403,6 @@ source "drivers/mtd/ubi/Kconfig" +source "drivers/mtd/avm/Kconfig" + endif # MTD