mirror of
https://xff.cz/git/u-boot/
synced 2025-09-24 03:52:08 +02:00
spl: do not repeat timer init on i.MX6
The GPT timer was already initialised in board_init_f() as it is needed in dram init. Do not repeat timer init in board_init_r(). Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
committed by
Stefano Babic
parent
ae64226dbe
commit
f9d42d821c
@@ -379,7 +379,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2)
|
|||||||
if (spl_init())
|
if (spl_init())
|
||||||
hang();
|
hang();
|
||||||
}
|
}
|
||||||
#ifndef CONFIG_PPC
|
#if !defined(CONFIG_PPC) && !defined(CONFIG_ARCH_MX6)
|
||||||
/*
|
/*
|
||||||
* timer_init() does not exist on PPC systems. The timer is initialized
|
* timer_init() does not exist on PPC systems. The timer is initialized
|
||||||
* and enabled (decrementer) in interrupt_init() here.
|
* and enabled (decrementer) in interrupt_init() here.
|
||||||
|
Reference in New Issue
Block a user