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

Tom Rini
2022-12-02T21:46:53Z

Fixup this last remnant of CONFIG_MALTA.

Cc: Paul Burton <paul.burton@mips.com>
Signed-off-by: Tom Rini <trini@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