Commit 4114d891 authored by Sandrine Bailleux's avatar Sandrine Bailleux
Browse files

juno: Semihosting: Fix file mode to load binaries on Windows

Propagate commit 886278e5 on Juno.

Change-Id: I1e5e1e3c019c51af6ed54bb02fee6b1ebc201a2a
parent d3c10e6c
......@@ -55,22 +55,22 @@ static io_block_spec fip_block_spec = {
static io_file_spec bl2_file_spec = {
.path = BL2_IMAGE_NAME,
.mode = FOPEN_MODE_R
.mode = FOPEN_MODE_RB
};
static io_file_spec bl30_file_spec = {
.path = BL30_IMAGE_NAME,
.mode = FOPEN_MODE_R
.mode = FOPEN_MODE_RB
};
static io_file_spec bl31_file_spec = {
.path = BL31_IMAGE_NAME,
.mode = FOPEN_MODE_R
.mode = FOPEN_MODE_RB
};
static io_file_spec bl33_file_spec = {
.path = BL33_IMAGE_NAME,
.mode = FOPEN_MODE_R
.mode = FOPEN_MODE_RB
};
static int open_fip(void *spec);
......
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