mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2025-02-14 23:57:53 +00:00
Tegra: early init the delay timer
This patch moves the platform delay timer init to early BL31 platform setup, so that platforms can use the udelay/mdelay routines in the early init code. Change-Id: I6fe20b76176ea22589539c180c5b6f9d09eda8de Signed-off-by: Steven Kao <skao@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
This commit is contained in:
parent
dd454b40df
commit
d29d96fb3f
@ -204,6 +204,11 @@ void bl31_early_platform_setup(bl31_params_t *from_bl2,
|
||||
TEGRA_CONSOLE_BAUDRATE);
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize delay timer
|
||||
*/
|
||||
tegra_delay_timer_init();
|
||||
|
||||
/*
|
||||
* Do initial security configuration to allow DRAM/device access.
|
||||
*/
|
||||
@ -263,11 +268,6 @@ void bl31_platform_setup(void)
|
||||
/* Initialize the gic cpu and distributor interfaces */
|
||||
plat_gic_setup();
|
||||
|
||||
/*
|
||||
* Initialize delay timer
|
||||
*/
|
||||
tegra_delay_timer_init();
|
||||
|
||||
/*
|
||||
* Setup secondary CPU POR infrastructure.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user