diff options
author | Paul Burton <paul.burton@imgtec.com> | 2013-11-08 11:18:55 +0000 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2013-11-09 17:21:02 +0100 |
commit | 3ced12a06baaf90039fa171688d33358b15613d1 (patch) | |
tree | 314b2b31fd85d854c1426992172471244a5d2626 /board/imgtec | |
parent | e174bd74c93637e78eb81048891acd4ea61520a9 (diff) | |
download | u-boot-3ced12a06baaf90039fa171688d33358b15613d1.tar.gz |
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 'board/imgtec')
-rw-r--r-- | board/imgtec/malta/malta.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/imgtec/malta/malta.c b/board/imgtec/malta/malta.c index 119546ae16..2f92259756 100644 --- a/board/imgtec/malta/malta.c +++ b/board/imgtec/malta/malta.c @@ -9,6 +9,7 @@ #include <netdev.h> #include <pci_gt64120.h> #include <pci_msc01.h> +#include <rtc.h> #include <serial.h> #include <asm/addrspace.h> @@ -147,6 +148,13 @@ int board_early_init_f(void) return 0; } +int misc_init_r(void) +{ + rtc_reset(); + + return 0; +} + struct serial_device *default_serial_console(void) { switch (malta_sys_con()) { |