diff options
author | Tom Rini <trini@konsulko.com> | 2022-11-12 17:36:50 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-05 16:05:38 -0500 |
commit | 0cd03259644dcb967fcd6b31c3a92984125a1fe3 (patch) | |
tree | b14f65006e64b8ed2f20a255b3b99c81e9f94ba9 /drivers | |
parent | a9f03760c1b85cda153723c5dc5d7ad0a64a5acc (diff) | |
download | u-boot-0cd03259644dcb967fcd6b31c3a92984125a1fe3.zip u-boot-0cd03259644dcb967fcd6b31c3a92984125a1fe3.tar.gz u-boot-0cd03259644dcb967fcd6b31c3a92984125a1fe3.tar.bz2 |
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/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index 5483efe..eb37b62 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 |