diff options
author | Tom Rini <trini@konsulko.com> | 2021-09-22 14:50:32 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-06 09:16:23 -0400 |
commit | 9d9f59dd0a97b327b784699152f7055adc7b3520 (patch) | |
tree | 9aee9b2c762a9c35ed64f85d5180698d581135c0 /include/configs/am335x_guardian.h | |
parent | 606c377849138e58e42ddcfad5c45a5aa55558a9 (diff) |
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/am335x_guardian.h')
-rw-r--r-- | include/configs/am335x_guardian.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index 903543c678..087b2d0e6d 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 |