summaryrefslogtreecommitdiff
path: root/plat
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-02-23 13:32:34 +0000
committerAndre Przywara <andre.przywara@arm.com>2016-06-02 01:27:42 +0100
commit040150acf71cba5c9d0c7f4a969d63861a189cae (patch)
treeaacec591cb37cbcc57d71b64bc2835a519943c77 /plat
parent4365d367b7304bb5b9f3803320b6949197d52f99 (diff)
sun50i: remove unneeded sunxi_config_setup()
This function does nothing, apparently it was copied from the FVP code. Remove its definition and the call. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat')
-rw-r--r--plat/sun50iw1p1/aarch64/sunxi_common.c13
-rw-r--r--plat/sun50iw1p1/bl31_sunxi_setup.c5
2 files changed, 0 insertions, 18 deletions
diff --git a/plat/sun50iw1p1/aarch64/sunxi_common.c b/plat/sun50iw1p1/aarch64/sunxi_common.c
index e55ee30..efa24d4 100644
--- a/plat/sun50iw1p1/aarch64/sunxi_common.c
+++ b/plat/sun50iw1p1/aarch64/sunxi_common.c
@@ -85,19 +85,6 @@ void sunxi_configure_mmu_el3(unsigned long total_base, unsigned long total_size,
enable_mmu_el3(0);
}
-/*******************************************************************************
- * A single boot loader stack is expected to work on both the Foundation FVP
- * models and the two flavours of the Base FVP models (AEMv8 & Cortex). The
- * SYS_ID register provides a mechanism for detecting the differences between
- * these platforms. This information is stored in a per-BL array to allow the
- * code to take the correct path.Per BL platform configuration.
- ******************************************************************************/
-int sunxi_config_setup(void)
-{
-
- return 0;
-}
-
unsigned long plat_get_ns_image_entrypoint(void)
{
return NS_IMAGE_OFFSET;
diff --git a/plat/sun50iw1p1/bl31_sunxi_setup.c b/plat/sun50iw1p1/bl31_sunxi_setup.c
index de428ad..c39db14 100644
--- a/plat/sun50iw1p1/bl31_sunxi_setup.c
+++ b/plat/sun50iw1p1/bl31_sunxi_setup.c
@@ -132,14 +132,9 @@ entry_point_info_t *bl31_plat_get_next_image_ep_info(uint32_t type)
void bl31_early_platform_setup(bl31_params_t *from_bl2,
void *plat_params_from_bl2)
{
-
-
/* Initialize the console to provide early debug support */
console_init(SUNXI_UART0_BASE, UART0_CLK_IN_HZ, UART0_BAUDRATE);
- /* Initialize the platform config for future decision making */
- sunxi_config_setup();
-
#if 0
#if RESET_TO_BL31
/* There are no parameters from BL2 if BL31 is a reset vector */