diff options
-rw-r--r-- | core/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/init.c b/core/init.c index 871c2a2..43ce3a0 100644 --- a/core/init.c +++ b/core/init.c @@ -434,15 +434,15 @@ static void load_initramfs(void) { int loaded; - dt_check_del_prop(dt_chosen, "linux,initrd-start"); - dt_check_del_prop(dt_chosen, "linux,initrd-end"); - loaded = wait_for_resource_loaded(RESOURCE_ID_INITRAMFS, RESOURCE_SUBID_NONE); if (loaded != OPAL_SUCCESS || !initramfs_size) return; + dt_check_del_prop(dt_chosen, "linux,initrd-start"); + dt_check_del_prop(dt_chosen, "linux,initrd-end"); + printf("INIT: Initramfs loaded, size: %zu bytes\n", initramfs_size); dt_add_property_u64(dt_chosen, "linux,initrd-start", |