Implement load_image in terms of IO abstraction
The modified implementation uses the IO abstraction rather than
making direct semi-hosting calls.  The semi-hosting driver is now
registered for the FVP platform during initialisation of each boot
stage where it is used.  Additionally, the FVP platform includes a
straightforward implementation of 'plat_get_image_source' which
provides a generic means for the 'load_image' function to determine
how to access the image data.

Change-Id: Ia34457b471dbee990c7b3c79de7aee4ceea51aa6
1 parent f2f9bb5 commit 9d72b4ea9c7d9cac386f70d8a6581d4b1a45d7b0
@James Morrissey James Morrissey authored on 10 Feb 2014
Dan Handley committed on 17 Feb 2014
Showing 11 changed files
View
common/bl_common.c
View
drivers/io/io_semihosting.c 0 → 100644
View
drivers/io/io_semihosting.h 0 → 100644
View
include/io_storage.h
View
include/semihosting.h
View
lib/semihosting/semihosting.c
View
plat/fvp/bl1_plat_setup.c
View
plat/fvp/bl2_plat_setup.c
View
plat/fvp/plat_io_storage.c 0 → 100644
View
plat/fvp/platform.h
View
plat/fvp/platform.mk