diff options
author | Gabe Black <gabeblack@google.com> | 2013-01-18 15:04:07 -0800 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-03-13 23:06:27 +0100 |
commit | 613c0f630a5fdcb0837d36b8a9104007f0ee7137 (patch) | |
tree | ec7b920a4459b868f649016922604427e659762e /payloads/libpayload/libc | |
parent | 1617e1f0ab0d8e280e60caee693606ad88c37a86 (diff) |
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@google.com>
Reviewed-on: http://review.coreboot.org/2655
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'payloads/libpayload/libc')
-rw-r--r-- | payloads/libpayload/libc/time.c | 16 |
1 files 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. |