Commit 70451470 authored by Antonio Nino Diaz's avatar Antonio Nino Diaz
Browse files

ti: k3: Migrate to new interfaces



- Migrate to bl31_early_platform_setup2().
- Remove references to removed build options.

Change-Id: Ie9f149e3fdec935f9329402ed3dd8e1c00b8832c
Acked-by: default avatarAndrew F. Davis <afd@ti.com>
Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
parent ce1f43ac
...@@ -57,12 +57,12 @@ static uint32_t k3_get_spsr_for_bl33_entry(void) ...@@ -57,12 +57,12 @@ static uint32_t k3_get_spsr_for_bl33_entry(void)
* Perform any BL3-1 early platform setup, such as console init and deciding on * Perform any BL3-1 early platform setup, such as console init and deciding on
* memory layout. * memory layout.
******************************************************************************/ ******************************************************************************/
void bl31_early_platform_setup(bl31_params_t *from_bl2, void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
void *plat_params_from_bl2) u_register_t arg2, u_register_t arg3)
{ {
/* There are no parameters from BL2 if BL31 is a reset vector */ /* There are no parameters from BL2 if BL31 is a reset vector */
assert(from_bl2 == NULL); assert(arg0 == 0U);
assert(plat_params_from_bl2 == NULL); assert(arg1 == 0U);
bl31_console_setup(); bl31_console_setup();
...@@ -95,12 +95,6 @@ void bl31_early_platform_setup(bl31_params_t *from_bl2, ...@@ -95,12 +95,6 @@ void bl31_early_platform_setup(bl31_params_t *from_bl2,
#endif #endif
} }
void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
u_register_t arg2, u_register_t arg3)
{
bl31_early_platform_setup((void *)arg0, (void *)arg1);
}
void bl31_plat_arch_setup(void) void bl31_plat_arch_setup(void)
{ {
......
...@@ -15,9 +15,6 @@ PROGRAMMABLE_RESET_ADDRESS:= 1 ...@@ -15,9 +15,6 @@ PROGRAMMABLE_RESET_ADDRESS:= 1
WARMBOOT_ENABLE_DCACHE_EARLY:= 1 WARMBOOT_ENABLE_DCACHE_EARLY:= 1
USE_COHERENT_MEM := 0 USE_COHERENT_MEM := 0
ERROR_DEPRECATED := 1
ENABLE_PLAT_COMPAT := 0
# A53 erratum for SoC. (enable them all) # A53 erratum for SoC. (enable them all)
ERRATA_A53_826319 := 1 ERRATA_A53_826319 := 1
ERRATA_A53_835769 := 1 ERRATA_A53_835769 := 1
......
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