aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/io/io_fip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/io/io_fip.c b/drivers/io/io_fip.c
index 6a7f123..8a95708 100644
--- a/drivers/io/io_fip.c
+++ b/drivers/io/io_fip.c
@@ -298,6 +298,7 @@ static int fip_file_open(struct io_dev_info *dev_info, const void *spec,
entity->info = (uintptr_t)&current_file;
} else {
/* Did not find the file in the FIP. */
+ current_file.entry.offset_address = 0;
result = IO_FAIL;
}