diff --git a/drivers/io/io_fip.c b/drivers/io/io_fip.c index 6a7f12395a75a838db42b09335ba0eb6087c9f3f..8a957081c61a15951bb772086d8e7fcf253577be 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)¤t_file; } else { /* Did not find the file in the FIP. */ + current_file.entry.offset_address = 0; result = IO_FAIL; }