From 9e888546f1ec322ac74b1e58b670d294ae3ea4fc Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Thu, 8 Jun 2017 16:58:30 +1000 Subject: mambo: fix cpio/initramfs reservation We didn't init cpio_size in the no cpio case. Fixes: 52aed80bddd5eed94c537f2bb0b846e4b5683728 Signed-off-by: Stewart Smith --- external/mambo/skiboot.tcl | 1 + 1 file changed, 1 insertion(+) (limited to 'external') diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl index 5a5176fa..9ac765db 100644 --- a/external/mambo/skiboot.tcl +++ b/external/mambo/skiboot.tcl @@ -189,6 +189,7 @@ mysim of addprop $xscom_node byte_array "compatible" $compat # Load any initramfs set cpio_start 0x80000000 set cpio_end $cpio_start +set cpio_size 0 if { [info exists env(SKIBOOT_INITRD)] } { set cpios [split $env(SKIBOOT_INITRD) ","] -- cgit v1.2.1