[Skiboot] [PATCH] mambo: fix cpio/initramfs reservation
Stewart Smith
stewart at linux.vnet.ibm.com
Thu Jun 8 16:59:43 AEST 2017
We didn't init cpio_size in the no cpio case.
Fixes: 52aed80bddd5eed94c537f2bb0b846e4b5683728
Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
external/mambo/skiboot.tcl | 1 +
1 file changed, 1 insertion(+)
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) ","]
--
2.9.4
More information about the Skiboot
mailing list