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/am335x_guardian.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/configs/am335x_guardian.h') diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index 903543c..087b2d0 100644 --- a/include/configs/am335x_guardian.h +++ b/include/configs/am335x_guardian.h @@ -137,8 +137,6 @@ #define CONFIG_NAND_OMAP_ECCSCHEME OMAP_ECC_BCH16_CODE_HW #define MTDIDS_DEFAULT "nand0=nand.0" -#define CONFIG_SYS_NAND_BAD_BLOCK_POS NAND_LARGE_BADBLOCK_POS - #endif /* CONFIG_MTD_RAW_NAND */ #define CONFIG_AM335X_USB0 -- cgit v1.1