Commit 99865e0a authored by Antonio Nino Diaz's avatar Antonio Nino Diaz
Browse files

warp7: Migrate to new interfaces



- Fix reference to bl2_el3_early_platform_setup()
- Remove references to removed build options.

Change-Id: I9733bec64fc28db15716ddf481c05bdc30700b4a
Tested-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Acked-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: default avatarAntonio Nino Diaz <antonio.ninodiaz@arm.com>
parent 9e119a40
...@@ -68,9 +68,6 @@ BL2_SOURCES += common/desc_image_load.c \ ...@@ -68,9 +68,6 @@ BL2_SOURCES += common/desc_image_load.c \
WORKAROUND_CVE_2017_5715 := 0 WORKAROUND_CVE_2017_5715 := 0
# Disable the PSCI platform compatibility layer by default
ENABLE_PLAT_COMPAT := 0
# Enable reset to BL31 by default # Enable reset to BL31 by default
RESET_TO_BL31 := 0 RESET_TO_BL31 := 0
...@@ -86,9 +83,6 @@ SEPARATE_CODE_AND_RODATA := 1 ...@@ -86,9 +83,6 @@ SEPARATE_CODE_AND_RODATA := 1
# Use Coherent memory # Use Coherent memory
USE_COHERENT_MEM := 1 USE_COHERENT_MEM := 1
# Enable new version of image loading required for AArch32
LOAD_IMAGE_V2 := 1
# PLAT_WARP7_UART # PLAT_WARP7_UART
PLAT_WARP7_UART :=1 PLAT_WARP7_UART :=1
$(eval $(call add_define,PLAT_WARP7_UART)) $(eval $(call add_define,PLAT_WARP7_UART))
...@@ -96,10 +90,6 @@ $(eval $(call add_define,PLAT_WARP7_UART)) ...@@ -96,10 +90,6 @@ $(eval $(call add_define,PLAT_WARP7_UART))
# Verify build config # Verify build config
# ------------------- # -------------------
ifneq (${LOAD_IMAGE_V2}, 1)
$(error Error: warp7 needs LOAD_IMAGE_V2=1)
endif
ifeq (${ARCH},aarch64) ifeq (${ARCH},aarch64)
$(error Error: AArch64 not supported on i.mx7) $(error Error: AArch64 not supported on i.mx7)
endif endif
...@@ -245,7 +245,7 @@ static void warp7_setup_usb_clocks(void) ...@@ -245,7 +245,7 @@ static void warp7_setup_usb_clocks(void)
imx_clock_enable_usb(CCM_CCGR_ID_USB_OTG2_PHY); imx_clock_enable_usb(CCM_CCGR_ID_USB_OTG2_PHY);
} }
/* /*
* bl2_early_platform_setup() * bl2_el3_early_platform_setup()
* MMU off * MMU off
*/ */
void bl2_el3_early_platform_setup(u_register_t arg1, u_register_t arg2, void bl2_el3_early_platform_setup(u_register_t arg1, u_register_t arg2,
......
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