summaryrefslogtreecommitdiff
path: root/payloads/libpayload/libc
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/libc')
-rw-r--r--payloads/libpayload/libc/time.c16
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.