firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-drivers_mtd_Kconfig.p...

42 lines
1.3 KiB
Diff

diff -drupN a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
--- a/drivers/mtd/Kconfig 2018-08-06 17:23:04.000000000 +0300
+++ b/drivers/mtd/Kconfig 2022-06-12 05:28:14.000000000 +0300
@@ -155,6 +155,13 @@ config MTD_BCM47XX_PARTS
This provides partitions parser for devices based on BCM47xx
boards.
+config MTD_SUNXI_PARTS
+ tristate "SUNXI partitioning support"
+ depends on ARCH_SUNXI
+ help
+ This provides partitions parser for devices based on SUNXI
+ boards.
+
comment "User Modules And Translation Layers"
#
@@ -163,6 +170,14 @@ comment "User Modules And Translation La
config MTD_BLKDEVS
tristate
+config MTD_CHAR
+ tristate "Direct char device access to MTD devices"
+ help
+ This provides a character device for each MTD device present in
+ the system, allowing the user to read and write directly to the
+ memory chips, and also use ioctl() to obtain information about
+ the device, or to erase parts of it.
+
config MTD_BLOCK
tristate "Caching block device access to MTD devices"
depends on BLOCK
@@ -330,6 +345,8 @@ source "drivers/mtd/devices/Kconfig"
source "drivers/mtd/nand/Kconfig"
+source "drivers/mtd/aw-spinand/Kconfig"
+
source "drivers/mtd/onenand/Kconfig"
source "drivers/mtd/lpddr/Kconfig"