summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2013-11-08 11:18:55 +0000
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2013-11-09 17:21:02 +0100
commit3ced12a06baaf90039fa171688d33358b15613d1 (patch)
tree314b2b31fd85d854c1426992172471244a5d2626 /drivers/rtc
parente174bd74c93637e78eb81048891acd4ea61520a9 (diff)
downloadu-boot-imx-3ced12a06baaf90039fa171688d33358b15613d1.zip
u-boot-imx-3ced12a06baaf90039fa171688d33358b15613d1.tar.gz
u-boot-imx-3ced12a06baaf90039fa171688d33358b15613d1.tar.bz2
malta: enable RTC support
This is actually required in order for a Linux kernel to boot successfully on a physical Malta board. Without enabling the RTC, a Malta Linux kernel will get stuck in its estimate_frequencies function on boot. Signed-off-by: Paul Burton <paul.burton@imgtec.com>
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)