[PoC 072/241] global: Migrate CONFIG_KM_ECC_MODE to CFG
Tom Rini
trini at konsulko.com
Sun Nov 20 14:31:03 CET 2022
Signed-off-by: Tom Rini <trini at konsulko.com>
---
include/configs/km/keymile-common.h | 6 +++---
scripts/config_whitelist.txt | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index 5e3baca75b23..1ae134c2ae3e 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -52,10 +52,10 @@
#ifdef CONFIG_NAND_ECC_BCH
#define CONFIG_KM_UIMAGE_NAME "ecc_bch_uImage\0"
-#define CONFIG_KM_ECC_MODE " eccmode=bch"
+#define CFG_KM_ECC_MODE " eccmode=bch"
#else
#define CONFIG_KM_UIMAGE_NAME "uImage\0"
-#define CONFIG_KM_ECC_MODE
+#define CFG_KM_ECC_MODE
#endif
/*
@@ -95,7 +95,7 @@
":${hostname}:${netdev}:off:" \
" console=" CONFIG_KM_CONSOLE_TTY ",${baudrate}" \
" mem=${kernelmem} init=${init}" \
- CONFIG_KM_ECC_MODE \
+ CFG_KM_ECC_MODE \
" phram.phram=phvar,${varaddr}," __stringify(CONFIG_KM_PHRAM)\
" " CONFIG_KM_UBI_LINUX_MTD " " \
CFG_KM_DEF_BOOT_ARGS_CPU \
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index fb702a42bd6b..11a501212b8c 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -80,7 +80,7 @@ CFG_KM_DEF_ENV_CONSTANTS
CFG_KM_DEF_ENV_CPU
CFG_KM_DEF_ENV_FLASH_BOOT
CFG_KM_DEV_ENV_FLASH_BOOT_UBI
-CONFIG_KM_ECC_MODE
+CFG_KM_ECC_MODE
CONFIG_KM_NEW_ENV
CONFIG_KM_UBI_LINUX_MTD
CONFIG_KM_UBI_PARTITION_NAME_APP
--
2.25.1
More information about the U-Boot
mailing list