diff options
author | Paul Burton | 2013-11-08 11:18:55 +0000 |
---|---|---|
committer | Daniel Schwierzeck | 2013-11-09 17:21:02 +0100 |
commit | 3ced12a06baaf90039fa171688d33358b15613d1 (patch) | |
tree | 314b2b31fd85d854c1426992172471244a5d2626 /drivers/rtc/mc146818.c | |
parent | e174bd74c93637e78eb81048891acd4ea61520a9 (diff) |
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/mc146818.c')
-rw-r--r-- | drivers/rtc/mc146818.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c index 5f9d359590b..f7cf1064f90 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) |