summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-13 01:36:50 +0300
committerTom Rini <trini@konsulko.com>2022-12-06 00:05:38 +0300
commit0cd03259644dcb967fcd6b31c3a92984125a1fe3 (patch)
treeb14f65006e64b8ed2f20a255b3b99c81e9f94ba9 /drivers
parenta9f03760c1b85cda153723c5dc5d7ad0a64a5acc (diff)
downloadu-boot-0cd03259644dcb967fcd6b31c3a92984125a1fe3.tar.xz
Convert CONFIG_SYS_NAND_SIZE to Kconfig
This converts the following to Kconfig: CONFIG_SYS_NAND_SIZE Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/raw/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index 5483efeb39..eb37b62759 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -461,6 +461,11 @@ config NAND_MXC
This enables the NAND driver for the NAND flash controller on the
i.MX27 / i.MX31 / i.MX5 processors.
+config SYS_NAND_SIZE
+ int "Size of NAND in kilobytes"
+ depends on NAND_MXC && SPL_NAND_SUPPORT
+ default 268435456
+
config NAND_MXS
bool "MXS NAND support"
depends on MX23 || MX28 || MX6 || MX7 || IMX8 || IMX8M