Commit 01da3bd2 authored by Varun Wadekar's avatar Varun Wadekar
Browse files

Tegra: call 'early_init' handler earlier during boot



This patch calls the 'early_init' handler earlier during boot. This
allows the platforms using Tegra186 onwards to init the BPMP interface
earlier.

Change-Id: I0d540df39de7864ce9051ebe11eca5432c462ebf
Signed-off-by: default avatarVarun Wadekar <vwadekar@nvidia.com>
parent 591054a3
...@@ -227,6 +227,9 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1, ...@@ -227,6 +227,9 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
*/ */
tegra_delay_timer_init(); tegra_delay_timer_init();
/* Early platform setup for Tegra SoCs */
plat_early_platform_setup();
/* /*
* Do initial security configuration to allow DRAM/device access. * Do initial security configuration to allow DRAM/device access.
*/ */
...@@ -269,9 +272,6 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1, ...@@ -269,9 +272,6 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
} }
} }
/* Early platform setup for Tegra SoCs */
plat_early_platform_setup();
/* /*
* Add timestamp for platform early setup exit. * Add timestamp for platform early setup exit.
*/ */
......
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