From: Simon Glass Date: Mon, 26 Sep 2016 03:33:11 +0000 (-0600) Subject: rtc: Use CONFIG_X86 instead of __I386__ X-Git-Tag: v2016.11-rc2~11^2~22 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3f14f814e79f5160e91a107fcac56d577867feac;p=u-boot rtc: Use CONFIG_X86 instead of __I386__ For 64-bit x86, __I386__ should perhaps not be defined. It is not clear from the definition, but let's use CONFIG_X86 to be sure. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c index da804d5459..4df9eda086 100644 --- a/drivers/rtc/mc146818.c +++ b/drivers/rtc/mc146818.c @@ -14,7 +14,7 @@ #include #include -#if defined(__I386__) || defined(CONFIG_MALTA) +#if defined(CONFIG_X86) || defined(CONFIG_MALTA) #include #define in8(p) inb(p) #define out8(p, v) outb(v, p)