aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Smart <chris@distroguy.com>2016-10-02 09:11:27 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-10-11 16:21:47 +1100
commitd8b7ad297887f681bef06df684acb8ea97171bda (patch)
treec6e993ccba3af13ce6f768a3a8e6fc2edf8427c4
parent32dc2a19bb6a91862b414fdd6eec07154e5e4308 (diff)
downloadskiboot-d8b7ad297887f681bef06df684acb8ea97171bda.zip
skiboot-d8b7ad297887f681bef06df684acb8ea97171bda.tar.gz
skiboot-d8b7ad297887f681bef06df684acb8ea97171bda.tar.bz2
v2 mambo: Add section for kernel command line boot args
Users can set kernel command line boot arguments for Mambo in a tcl script. This adds a place holder at the bottom of the skiboot.tcl script so that users know what format to use. Signed-off-by: Chris Smart <chris@distroguy.com> Acked-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--external/mambo/skiboot.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index 8d221de..70f0df0 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -271,6 +271,10 @@ if { [info exists env(SKIBOOT_ENABLE_MAMBO_STB)] } {
mysim of addprop $stb_node array "hw-key-hash" hw_key_hash
}
+# Kernel command line args, appended to any from the device tree
+# e.g.: of::set_bootargs "xmon"
+of::set_bootargs ""
+
# Load images
set boot_size [file size $mconf(boot_image)]