[PoC 222/241] global: Migrate CONFIG_UBOOT_SECTOR_START to CFG
Tom Rini
trini at konsulko.com
Sun Nov 20 15:17:24 CET 2022
Signed-off-by: Tom Rini <trini at konsulko.com>
---
include/configs/xpress.h | 4 ++--
scripts/config_whitelist.txt | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/configs/xpress.h b/include/configs/xpress.h
index 2b57ba34be9c..fc1b08360ce5 100644
--- a/include/configs/xpress.h
+++ b/include/configs/xpress.h
@@ -34,7 +34,7 @@
#define CFG_FEC_ENET_DEV 0
#define CFG_FEC_MXC_PHYADDR 0x0
-#define CONFIG_UBOOT_SECTOR_START 0x2
+#define CFG_UBOOT_SECTOR_START 0x2
#define CFG_UBOOT_SECTOR_COUNT 0x3fe
#define CFG_EXTRA_ENV_SETTINGS \
@@ -75,7 +75,7 @@
"bootz; " \
"fi;\0" \
"uboot=ccv/u-boot.imx\0" \
- "uboot_start="__stringify(CONFIG_UBOOT_SECTOR_START)"\0" \
+ "uboot_start="__stringify(CFG_UBOOT_SECTOR_START)"\0" \
"uboot_size="__stringify(CFG_UBOOT_SECTOR_COUNT)"\0" \
"update_uboot=if tftp ${uboot}; then " \
"if itest ${filesize} > 0; then " \
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index a520c70a2baf..ba5d1be700a3 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -236,7 +236,7 @@ CFG_UBIFS_VOLUME
CFG_UBI_PART
CFG_UBOOTPATH
CFG_UBOOT_SECTOR_COUNT
-CONFIG_UBOOT_SECTOR_START
+CFG_UBOOT_SECTOR_START
CONFIG_UEC_ETH
CONFIG_USART_BASE
CONFIG_USART_ID
--
2.25.1
More information about the U-Boot
mailing list