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>
This commit is contained in:
parent
1617e1f0ab
commit
613c0f630a
|
@ -111,9 +111,8 @@ static void gettimeofday_init(void)
|
||||||
(tm.tm_min * 60) + tm.tm_sec;
|
(tm.tm_min * 60) + tm.tm_sec;
|
||||||
}
|
}
|
||||||
#endif // CONFIG_NVRAM
|
#endif // CONFIG_NVRAM
|
||||||
#endif // CONFIG_ARCH_X86
|
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_ARMV7
|
#else
|
||||||
static void update_clock(void)
|
static void update_clock(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -121,18 +120,7 @@ static void update_clock(void)
|
||||||
static void gettimeofday_init(void)
|
static void gettimeofday_init(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#endif // CONFIG_ARCH_ARMV7
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_POWERPC
|
|
||||||
static void update_clock(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static void gettimeofday_init(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
#endif // CONFIG_ARCH_POWERPC
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the current time broken into a timeval structure.
|
* Return the current time broken into a timeval structure.
|
||||||
|
|
Loading…
Reference in New Issue