diff options
author | Juan Castillo <juan.castillo@arm.com> | 2015-01-28 16:42:41 +0000 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2015-01-28 18:27:54 +0000 |
commit | bed82ac9dfa856ff034491c68b66b3661766d26e (patch) | |
tree | 002fb0f510ce4015df4f899adb0ef24bda2fdcb0 | |
parent | 01df3c14677db0eab68f088f2721542f88ea4004 (diff) |
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
-rw-r--r-- | plat/fvp/bl2_fvp_setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plat/fvp/bl2_fvp_setup.c b/plat/fvp/bl2_fvp_setup.c index 5764b6a9..364833fe 100644 --- a/plat/fvp/bl2_fvp_setup.c +++ b/plat/fvp/bl2_fvp_setup.c @@ -175,6 +175,9 @@ void bl2_early_platform_setup(meminfo_t *mem_layout) /* Initialize the platform config for future decision making */ fvp_config_setup(); + + /* Initialise the IO layer and register platform IO devices */ + fvp_io_setup(); } /******************************************************************************* @@ -190,9 +193,6 @@ void bl2_platform_setup(void) * present. */ fvp_security_setup(); - - /* Initialise the IO layer and register platform IO devices */ - fvp_io_setup(); } /* Flush the TF params and the TF plat params */ |