Implement load_image in terms of IO abstraction
authorJames Morrissey <james.morrissey@arm.com>
Mon, 10 Feb 2014 17:04:32 +0000 (17:04 +0000)
committerDan Handley <dan.handley@arm.com>
Mon, 17 Feb 2014 18:51:43 +0000 (18:51 +0000)
commit9d72b4ea9c7d9cac386f70d8a6581d4b1a45d7b0
tree603de7f9d7c6f74b09108a2539d1658f44e7bcfc
parentf2f9bb5e712d3ec1d7dda5a5b52c8f8701a93d99
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
common/bl_common.c
drivers/io/io_semihosting.c [new file with mode: 0644]
drivers/io/io_semihosting.h [new file with mode: 0644]
include/io_storage.h
include/semihosting.h
lib/semihosting/semihosting.c
plat/fvp/bl1_plat_setup.c
plat/fvp/bl2_plat_setup.c
plat/fvp/plat_io_storage.c [new file with mode: 0644]
plat/fvp/platform.h
plat/fvp/platform.mk