ti: k3: Migrate to new interfaces

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

Change-Id: Ie9f149e3fdec935f9329402ed3dd8e1c00b8832c
Acked-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
This commit is contained in:
Antonio Nino Diaz 2018-09-24 17:16:45 +01:00
parent ce1f43ac34
commit 7045147082
2 changed files with 4 additions and 13 deletions

View File

@ -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
* memory layout.
******************************************************************************/
void bl31_early_platform_setup(bl31_params_t *from_bl2,
void *plat_params_from_bl2)
void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
u_register_t arg2, u_register_t arg3)
{
/* There are no parameters from BL2 if BL31 is a reset vector */
assert(from_bl2 == NULL);
assert(plat_params_from_bl2 == NULL);
assert(arg0 == 0U);
assert(arg1 == 0U);
bl31_console_setup();
@ -95,12 +95,6 @@ void bl31_early_platform_setup(bl31_params_t *from_bl2,
#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)
{

View File

@ -15,9 +15,6 @@ PROGRAMMABLE_RESET_ADDRESS:= 1
WARMBOOT_ENABLE_DCACHE_EARLY:= 1
USE_COHERENT_MEM := 0
ERROR_DEPRECATED := 1
ENABLE_PLAT_COMPAT := 0
# A53 erratum for SoC. (enable them all)
ERRATA_A53_826319 := 1
ERRATA_A53_835769 := 1