diff options
| author | Tom Rini <[email protected]> | 2022-11-12 17:36:50 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-12-05 16:05:38 -0500 |
| commit | 0cd03259644dcb967fcd6b31c3a92984125a1fe3 (patch) | |
| tree | b14f65006e64b8ed2f20a255b3b99c81e9f94ba9 /drivers | |
| parent | a9f03760c1b85cda153723c5dc5d7ad0a64a5acc (diff) | |
Convert CONFIG_SYS_NAND_SIZE to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_NAND_SIZE
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
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 5483efeb39b..eb37b627599 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 |
