diff options
author | Tom Rini <trini@konsulko.com> | 2021-09-22 21:50:32 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-06 16:16:23 +0300 |
commit | 9d9f59dd0a97b327b784699152f7055adc7b3520 (patch) | |
tree | 9aee9b2c762a9c35ed64f85d5180698d581135c0 /include/configs/smartweb.h | |
parent | 606c377849138e58e42ddcfad5c45a5aa55558a9 (diff) | |
download | u-boot-9d9f59dd0a97b327b784699152f7055adc7b3520.tar.xz |
Convert CONFIG_SYS_NAND_BAD_BLOCK_POS to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_NAND_BAD_BLOCK_POS
In order to do this, introduce a choice for HAS_LARGE/SMALL_BADBLOCK_POS
as those are the only valid values. Use LARGE as the default as no
in-tree boards use SMALL, but it is possible.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/smartweb.h')
-rw-r--r-- | include/configs/smartweb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h index ad8937cca8..41881ea050 100644 --- a/include/configs/smartweb.h +++ b/include/configs/smartweb.h @@ -169,7 +169,6 @@ #define CONFIG_SYS_NAND_5_ADDR_CYCLE #define CONFIG_SYS_NAND_SIZE (SZ_256M) -#define CONFIG_SYS_NAND_BAD_BLOCK_POS NAND_LARGE_BADBLOCK_POS #define CONFIG_SYS_NAND_ECCSIZE 256 #define CONFIG_SYS_NAND_ECCBYTES 3 #define CONFIG_SYS_NAND_ECCPOS { 40, 41, 42, 43, 44, 45, 46, 47, \ |