[PoC 074/241] global: Migrate CONFIG_KM_UBI_LINUX_MTD to CFG
Tom Rini
trini at konsulko.com
Sun Nov 20 14:31:05 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 1ae134c2ae3e..7e347e5b8f4f 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -31,7 +31,7 @@
#ifndef CONFIG_KM_UBI_PARTITION_NAME_APP
/* one flash chip only called boot */
/* boot: CONFIG_KM_UBI_PARTITION_NAME_BOOT */
-# define CONFIG_KM_UBI_LINUX_MTD \
+# define CFG_KM_UBI_LINUX_MTD \
"ubi.mtd=" CONFIG_KM_UBI_PARTITION_NAME_BOOT \
CONFIG_KM_UBI_PART_BOOT_OPTS
# define CFG_KM_DEV_ENV_FLASH_BOOT_UBI \
@@ -40,7 +40,7 @@
/* two flash chips called boot and app */
/* boot: CONFIG_KM_UBI_PARTITION_NAME_BOOT */
/* app: CONFIG_KM_UBI_PARTITION_NAME_APP */
-# define CONFIG_KM_UBI_LINUX_MTD \
+# define CFG_KM_UBI_LINUX_MTD \
"ubi.mtd=" CONFIG_KM_UBI_PARTITION_NAME_BOOT \
CONFIG_KM_UBI_PART_BOOT_OPTS " " \
"ubi.mtd=" CONFIG_KM_UBI_PARTITION_NAME_APP
@@ -97,7 +97,7 @@
" mem=${kernelmem} init=${init}" \
CFG_KM_ECC_MODE \
" phram.phram=phvar,${varaddr}," __stringify(CONFIG_KM_PHRAM)\
- " " CONFIG_KM_UBI_LINUX_MTD " " \
+ " " CFG_KM_UBI_LINUX_MTD " " \
CFG_KM_DEF_BOOT_ARGS_CPU \
"\0" \
"addpanic=" \
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 471b3243f380..19a4fc540336 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -82,7 +82,7 @@ CFG_KM_DEF_ENV_FLASH_BOOT
CFG_KM_DEV_ENV_FLASH_BOOT_UBI
CFG_KM_ECC_MODE
CFG_KM_NEW_ENV
-CONFIG_KM_UBI_LINUX_MTD
+CFG_KM_UBI_LINUX_MTD
CONFIG_KM_UBI_PARTITION_NAME_APP
CONFIG_KM_UBI_PARTITION_NAME_BOOT
CONFIG_KM_UBI_PART_BOOT_OPTS
--
2.25.1
More information about the U-Boot
mailing list