817149643c
There is redundancy in terms of use of init_timer. We have a Kconfig option to decide whether a board has init_timer as well as we use a stub for init_timer in places where we do not have any init_timer defined. Thus, remove the Kconfig option. Henceforth, all boards that do not have init_timer functionality can include a stub_timer if required. Change-Id: I35d38ec686f4dc92861cf9248f9b540323cd98ae Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: http://review.coreboot.org/5569 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
14 lines
150 B
C
14 lines
150 B
C
#include <arch/io.h>
|
|
#include <delay.h>
|
|
|
|
void init_timer(void)
|
|
{
|
|
}
|
|
|
|
void udelay(unsigned usecs)
|
|
{
|
|
int i;
|
|
for(i = 0; i < usecs; i++)
|
|
inb(0x80);
|
|
}
|
|
|