summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-11-11 09:40:34 -0500
committerTom Rini <trini@ti.com>2013-11-11 09:40:34 -0500
commit60390d70be7336b2441f5f69bd4f5affa83d064d (patch)
tree857824f8b7f5f7aaf2f5dac91eea94392818a7a0 /drivers/rtc
parent85b8c5c4bf80025de4632ae6c9a8a606e51508a4 (diff)
parenta3e80904fb07cda792e636704e3b3950d1446af3 (diff)
downloadu-boot-imx-60390d70be7336b2441f5f69bd4f5affa83d064d.zip
u-boot-imx-60390d70be7336b2441f5f69bd4f5affa83d064d.tar.gz
u-boot-imx-60390d70be7336b2441f5f69bd4f5affa83d064d.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'drivers/rtc')
-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 5f9d359..f7cf106 100644
--- a/drivers/rtc/mc146818.c
+++ b/drivers/rtc/mc146818.c
@@ -15,7 +15,7 @@
#include <command.h>
#include <rtc.h>
-#ifdef __I386__
+#if defined(__I386__) || defined(CONFIG_MALTA)
#include <asm/io.h>
#define in8(p) inb(p)
#define out8(p, v) outb(v, p)