diff options
Diffstat (limited to 'core/flash.c')
-rw-r--r-- | core/flash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/flash.c b/core/flash.c index 7140e94..4031e7b 100644 --- a/core/flash.c +++ b/core/flash.c @@ -748,7 +748,8 @@ static int flash_load_resource(enum resource_id id, uint32_t subid, * Back to the old way of doing things, no STB header. */ if (subid == RESOURCE_SUBID_NONE) { - if (id == RESOURCE_ID_KERNEL) { + if (id == RESOURCE_ID_KERNEL || + id == RESOURCE_ID_INITRAMFS) { /* * Because actualSize is a lie, we compute the * size of the BOOTKERNEL based on what the ELF |