Commit d29d96fb authored by Steven Kao's avatar Steven Kao Committed by Varun Wadekar
Browse files

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: default avatarSteven Kao <skao@nvidia.com>
Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
parent dd454b40
......@@ -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.
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment