From 9d9f59dd0a97b327b784699152f7055adc7b3520 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 22 Sep 2021 14:50:32 -0400 Subject: 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 --- include/configs/at91sam9x5ek.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/configs/at91sam9x5ek.h') diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index dc5265604c..08ce67a5e6 100644 --- a/include/configs/at91sam9x5ek.h +++ b/include/configs/at91sam9x5ek.h @@ -99,6 +99,5 @@ #endif #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x40000 #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_BAD_BLOCK_POS 0x0 #endif -- cgit v1.2.1