[PATCH 24/41] malta: Rename CONFIG_MALTA to CONFIG_TARGET_MALTA

Tom Rini trini at konsulko.com
Fri Dec 2 22:42:34 CET 2022


Fixup this last remnant of CONFIG_MALTA.

Cc: Paul Burton <paul.burton at mips.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 drivers/rtc/mc146818.c  | 2 +-
 include/configs/malta.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c
index 122691b97842..03ce081d5764 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(CONFIG_TARGET_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 8ba04b4e6c31..c17a4a4a8e5e 100644
--- a/include/configs/malta.h
+++ b/include/configs/malta.h
@@ -9,7 +9,6 @@
 /*
  * System configuration
  */
-#define CONFIG_MALTA
 
 /*
  * CPU Configuration
-- 
2.25.1



More information about the U-Boot mailing list