summaryrefslogtreecommitdiff
path: root/include/configs/chiliboard.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-22 14:50:32 -0400
committerTom Rini <trini@konsulko.com>2021-10-06 09:16:23 -0400
commit9d9f59dd0a97b327b784699152f7055adc7b3520 (patch)
tree9aee9b2c762a9c35ed64f85d5180698d581135c0 /include/configs/chiliboard.h
parent606c377849138e58e42ddcfad5c45a5aa55558a9 (diff)
downloadu-boot-9d9f59dd0a97b327b784699152f7055adc7b3520.tar.gz
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/chiliboard.h')
-rw-r--r--include/configs/chiliboard.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/chiliboard.h b/include/configs/chiliboard.h
index 36dad6cf99..704b2e61a8 100644
--- a/include/configs/chiliboard.h
+++ b/include/configs/chiliboard.h
@@ -125,7 +125,6 @@
/* NAND: device related configs */
#define CONFIG_SYS_NAND_5_ADDR_CYCLE
/* NAND: driver related configs */
-#define CONFIG_SYS_NAND_BAD_BLOCK_POS NAND_LARGE_BADBLOCK_POS
#define CONFIG_SYS_NAND_ECCPOS { 2, 3, 4, 5, 6, 7, 8, 9, \
10, 11, 12, 13, 14, 15, 16, 17, \
18, 19, 20, 21, 22, 23, 24, 25, \