summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-13 01:36:48 +0300
committerTom Rini <trini@konsulko.com>2022-12-06 00:05:38 +0300
commit1a792803d8905373bc04bbc2a4dc7d0d1ecdd967 (patch)
tree9d08c36d2363b020ddada679ce61cd36191b286d /drivers/mtd
parent4d3495deb653ad4e50051e846667eaad8257e1f9 (diff)
downloadu-boot-1a792803d8905373bc04bbc2a4dc7d0d1ecdd967.tar.xz
Convert CONFIG_SYS_NAND_NO_SUBPAGE_WRITE to Kconfig
This converts the following to Kconfig: CONFIG_SYS_NAND_NO_SUBPAGE_WRITE Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/raw/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index 0e428418b2..3585031ddf 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -41,6 +41,10 @@ config SYS_NAND_USE_FLASH_BBT
help
Enable the BBT (Bad Block Table) usage.
+config SYS_NAND_NO_SUBPAGE_WRITE
+ bool "Disable subpage write support"
+ depends on NAND_ARASAN || NAND_DAVINCI || NAND_KIRKWOOD
+
config NAND_ATMEL
bool "Support Atmel NAND controller"
select SYS_NAND_SELF_INIT