[PoC 110/241] global: Migrate CONFIG_MALTA to CFG

Tom Rini trini at konsulko.com
Sun Nov 20 15:07:00 CET 2022


Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/rtc/mc146818.c       | 2 +-
 include/configs/malta.h      | 2 +-
 scripts/config_whitelist.txt | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c
index 122691b97842..d5f9f4206566 100644
--- a/drivers/rtc/mc146818.c
+++ b/drivers/rtc/mc146818.c
@@ -13,7 +13,7 @@
 #include <dm.h>
 #include <rtc.h>
 
-#if defined(CONFIG_X86) || defined(CONFIG_MALTA)
+#if defined(CONFIG_X86) || defined(CFG_MALTA)
 #include <asm/io.h>
 #define in8(p) inb(p)
 #define out8(p, v) outb(v, p)
diff --git a/include/configs/malta.h b/include/configs/malta.h
index 65f4b05649b2..cd4f382b18f9 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -9,7 +9,7 @@
 /*
  * System configuration
  */
-#define CONFIG_MALTA
+#define CFG_MALTA
 
 #define CONFIG_MEMSIZE_IN_BYTES
 
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index f42481a7b3bc..c72372a11ddc 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -118,7 +118,7 @@ CFG_LPC32XX_NAND_SLC_WSETUP
 CFG_LPC32XX_NAND_SLC_WWIDTH
 CFG_MACB_SEARCH_PHY
 CFG_MALLOC_F_ADDR
-CONFIG_MALTA
+CFG_MALTA
 CONFIG_MAX_DSP_CPUS
 CONFIG_MAX_MEM_MAPPED
 CONFIG_MAX_RAM_BANK_SIZE
-- 
2.25.1



More information about the U-Boot mailing list