Skip to content
Snippets Groups Projects
Commit 3f14f814 authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 2547f3ed
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@
#include <dm.h>
#include <rtc.h>
#if defined(__I386__) || defined(CONFIG_MALTA)
#if defined(CONFIG_X86) || defined(CONFIG_MALTA)
#include <asm/io.h>
#define in8(p) inb(p)
#define out8(p, v) outb(v, p)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment