Commit 749d0fa8 authored by Stas Sergeev's avatar Stas Sergeev
Browse files

fix(plat/fvp): provide boot files via semihosting

These files are needed during boot, but they were missing
for semihosting.
With this patch, the list of files is complete enough to
boot on ATF platform via semihosting.

Change-Id: I2f0ca25983a6e18096f040780776f19f8040ea79
Signed-off-by: stsp@users.sourceforge.net
parent fe1021f1
...@@ -20,6 +20,10 @@ ...@@ -20,6 +20,10 @@
#define BL32_IMAGE_NAME "bl32.bin" #define BL32_IMAGE_NAME "bl32.bin"
#define BL33_IMAGE_NAME "bl33.bin" #define BL33_IMAGE_NAME "bl33.bin"
#define TB_FW_CONFIG_NAME "fvp_tb_fw_config.dtb" #define TB_FW_CONFIG_NAME "fvp_tb_fw_config.dtb"
#define SOC_FW_CONFIG_NAME "fvp_soc_fw_config.dtb"
#define TOS_FW_CONFIG_NAME "fvp_tsp_fw_config.dtb"
#define NT_FW_CONFIG_NAME "fvp_nt_fw_config.dtb"
#define FW_CONFIG_NAME "fvp_fw_config.dtb"
#define HW_CONFIG_NAME "hw_config.dtb" #define HW_CONFIG_NAME "hw_config.dtb"
#if TRUSTED_BOARD_BOOT #if TRUSTED_BOARD_BOOT
...@@ -58,6 +62,22 @@ static const io_file_spec_t sh_file_spec[] = { ...@@ -58,6 +62,22 @@ static const io_file_spec_t sh_file_spec[] = {
.path = TB_FW_CONFIG_NAME, .path = TB_FW_CONFIG_NAME,
.mode = FOPEN_MODE_RB .mode = FOPEN_MODE_RB
}, },
[SOC_FW_CONFIG_ID] = {
.path = SOC_FW_CONFIG_NAME,
.mode = FOPEN_MODE_RB
},
[TOS_FW_CONFIG_ID] = {
.path = TOS_FW_CONFIG_NAME,
.mode = FOPEN_MODE_RB
},
[NT_FW_CONFIG_ID] = {
.path = NT_FW_CONFIG_NAME,
.mode = FOPEN_MODE_RB
},
[FW_CONFIG_ID] = {
.path = FW_CONFIG_NAME,
.mode = FOPEN_MODE_RB
},
[HW_CONFIG_ID] = { [HW_CONFIG_ID] = {
.path = HW_CONFIG_NAME, .path = HW_CONFIG_NAME,
.mode = FOPEN_MODE_RB .mode = FOPEN_MODE_RB
......
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