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
This commit is contained in:
Stas Sergeev 2021-07-26 13:19:39 +03:00
parent fe1021f1a1
commit 749d0fa80d
1 changed files with 20 additions and 0 deletions

View File

@ -20,6 +20,10 @@
#define BL32_IMAGE_NAME "bl32.bin"
#define BL33_IMAGE_NAME "bl33.bin"
#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"
#if TRUSTED_BOARD_BOOT
@ -58,6 +62,22 @@ static const io_file_spec_t sh_file_spec[] = {
.path = TB_FW_CONFIG_NAME,
.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] = {
.path = HW_CONFIG_NAME,
.mode = FOPEN_MODE_RB