[coreboot] New patch to review for coreboot: 8ffaed8 libpayload: Stub out time keeping functions for ARM as well

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Tue Mar 12 02:21:38 CET 2013


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2655

-gerrit

commit 8ffaed84d9ca16c356a55acd61cd0c98dfac934d
Author: Gabe Black <gabeblack at google.com>
Date:   Fri Jan 18 15:04:07 2013 -0800

    libpayload: Stub out time keeping functions for ARM as well
    
    These were currently stubbed out for PowerPC but not for ARM.
    
    Change-Id: I08f45174877bf5751d972078b8c53d82898b7f2b
    Signed-off-by: Gabe Black <gabeblack at google.com>
---
 payloads/libpayload/libc/time.c | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/payloads/libpayload/libc/time.c b/payloads/libpayload/libc/time.c
index 91f6296..1503c45 100644
--- a/payloads/libpayload/libc/time.c
+++ b/payloads/libpayload/libc/time.c
@@ -111,9 +111,8 @@ static void gettimeofday_init(void)
 		(tm.tm_min * 60) + tm.tm_sec;
 }
 #endif // CONFIG_NVRAM
-#endif // CONFIG_ARCH_X86
 
-#ifdef CONFIG_ARCH_ARMV7
+#else
 static void update_clock(void)
 {
 }
@@ -121,18 +120,7 @@ static void update_clock(void)
 static void gettimeofday_init(void)
 {
 }
-#endif // CONFIG_ARCH_ARMV7
-
-
-#ifdef CONFIG_ARCH_POWERPC
-static void update_clock(void)
-{
-}
-
-static void gettimeofday_init(void)
-{
-}
-#endif // CONFIG_ARCH_POWERPC
+#endif
 
 /**
  * Return the current time broken into a timeval structure.



More information about the coreboot mailing list