From 613c0f630a5fdcb0837d36b8a9104007f0ee7137 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 18 Jan 2013 15:04:07 -0800 Subject: [PATCH] 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 Reviewed-on: http://review.coreboot.org/2655 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- 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 91f6296d85..1503c45d99 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.