[U-Boot] [PATCH 01/10] x86: queensbay: Do RTC initialization

Bin Meng bmeng.cn at gmail.com
Mon Jun 15 09:59:53 CEST 2015


Enable RTC initialization in arch_misc_init().

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 arch/x86/cpu/queensbay/tnc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/x86/cpu/queensbay/tnc.c b/arch/x86/cpu/queensbay/tnc.c
index 873de7b..f14a368 100644
--- a/arch/x86/cpu/queensbay/tnc.c
+++ b/arch/x86/cpu/queensbay/tnc.c
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <rtc.h>
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/pci.h>
@@ -86,5 +87,7 @@ int arch_misc_init(void)
 {
 	pirq_init();
 
+	rtc_init();
+
 	return 0;
 }
-- 
1.8.2.1



More information about the U-Boot mailing list