diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-06-08 16:58:30 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-06-08 16:58:30 +1000 |
commit | 9e888546f1ec322ac74b1e58b670d294ae3ea4fc (patch) | |
tree | fda64bb2098635988dc6f8cdb48f1762e0db8008 /external | |
parent | 52aed80bddd5eed94c537f2bb0b846e4b5683728 (diff) | |
download | skiboot-9e888546f1ec322ac74b1e58b670d294ae3ea4fc.zip skiboot-9e888546f1ec322ac74b1e58b670d294ae3ea4fc.tar.gz skiboot-9e888546f1ec322ac74b1e58b670d294ae3ea4fc.tar.bz2 |
mambo: fix cpio/initramfs reservation
We didn't init cpio_size in the no cpio case.
Fixes: 52aed80bddd5eed94c537f2bb0b846e4b5683728
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/mambo/skiboot.tcl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl index 5a5176f..9ac765d 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) ","] |