aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/mc146818.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-22 10:33:04 -0500
committerTom Rini <trini@konsulko.com>2022-12-22 10:33:04 -0500
commit52d91e1c20b399ddab276e2c03e5788ed5e5fdd2 (patch)
tree3da0b0377b27eedd5d702c77fbb63a0d905a3f77 /drivers/rtc/mc146818.c
parent14f43797d0a696248c09d298e2f2809dded345ba (diff)
parent8214b772cf213f1f02e5e33f4a5158f52d9d2c23 (diff)
Merge branch '2022-12-21-CONFIG-migration-work' into next
- Bring in the second to last big batch of CONFIG migrations and renames. Of note here we fix a few inconsistencies around the baudrate tables on some SoCs and now are consistent in hostname/etc handling in the environment.
Diffstat (limited to 'drivers/rtc/mc146818.c')
-rw-r--r--drivers/rtc/mc146818.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c
index 122691b978..03ce081d57 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)