Commit bed82ac9 authored by Juan Castillo's avatar Juan Castillo Committed by Dan Handley
Browse files

FVP: initialize IO framework in bl2_early_platform_setup()

This patch moves fvp_io_setup() to bl2_early_platform_setup() in order
to allow BL2 to use the IO framework before bl2_platform_setup().

Change-Id: I75e1a772ab5f9b4727f6727822a2527c30f3c63d
parent 01df3c14
...@@ -175,6 +175,9 @@ void bl2_early_platform_setup(meminfo_t *mem_layout) ...@@ -175,6 +175,9 @@ void bl2_early_platform_setup(meminfo_t *mem_layout)
/* Initialize the platform config for future decision making */ /* Initialize the platform config for future decision making */
fvp_config_setup(); fvp_config_setup();
/* Initialise the IO layer and register platform IO devices */
fvp_io_setup();
} }
/******************************************************************************* /*******************************************************************************
...@@ -190,9 +193,6 @@ void bl2_platform_setup(void) ...@@ -190,9 +193,6 @@ void bl2_platform_setup(void)
* present. * present.
*/ */
fvp_security_setup(); fvp_security_setup();
/* Initialise the IO layer and register platform IO devices */
fvp_io_setup();
} }
/* Flush the TF params and the TF plat params */ /* Flush the TF params and the TF plat params */
......
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