mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
nios2: Switch to generic timer
Zap almost all of the ad-hoc timer code from interrupts.c and use the code in lib/time.c instead. Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
This commit is contained in:
@ -795,7 +795,8 @@ static init_fnc_t init_sequence_f[] = {
|
||||
init_timebase,
|
||||
#endif
|
||||
#if defined(CONFIG_ARM) || defined(CONFIG_MIPS) || \
|
||||
defined(CONFIG_BLACKFIN) || defined(CONFIG_NDS32)
|
||||
defined(CONFIG_BLACKFIN) || defined(CONFIG_NDS32) || \
|
||||
defined(CONFIG_NIOS2)
|
||||
timer_init, /* initialize timer */
|
||||
#endif
|
||||
#ifdef CONFIG_SYS_ALLOC_DPRAM
|
||||
|
Reference in New Issue
Block a user