diff mbox

mambo: fix cpio/initramfs reservation

Message ID 20170608065943.26333-1-stewart@linux.vnet.ibm.com
State Accepted
Headers show

Commit Message

Stewart Smith June 8, 2017, 6:59 a.m. UTC
We didn't init cpio_size in the no cpio case.

Fixes: 52aed80bddd5eed94c537f2bb0b846e4b5683728
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
---
 external/mambo/skiboot.tcl | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index 5a5176fafe4c..9ac765dbb6b5 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) ","]