aboutsummaryrefslogtreecommitdiff
path: root/external/mambo
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2016-01-15 12:04:06 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-01-15 15:04:57 +1100
commite605691ed2ad98d327e65ea162ef56122699c3cc (patch)
treeb02513e31792b8da1c334267099eeffca2c4eb7e /external/mambo
parentb6c2470d1c0e53db32dfa055612c310cff4582ee (diff)
downloadskiboot-e605691ed2ad98d327e65ea162ef56122699c3cc.zip
skiboot-e605691ed2ad98d327e65ea162ef56122699c3cc.tar.gz
skiboot-e605691ed2ad98d327e65ea162ef56122699c3cc.tar.bz2
external/mambo: Load skiboot already offset
Load skiboot already offset at 768MB so that it doesn't need to relocate itself. This shaves about 1M instructions off boot time. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external/mambo')
-rw-r--r--external/mambo/skiboot.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index 83d295b..d3b4120 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -22,10 +22,10 @@ if { [info exists env(SKIBOOT)] } {
}
# Boot: Memory location to load boot_image, for binary or vmlinux
-mconfig boot_load MAMBO_BOOT_LOAD 0
+mconfig boot_load MAMBO_BOOT_LOAD 0x30000000
# Boot: Value of PC after loading, for binary or vmlinux
-mconfig boot_pc MAMBO_BOOT_PC 0x10
+mconfig boot_pc MAMBO_BOOT_PC 0x30000010
# Payload: Allow for a Linux style ramdisk/initrd
if { ![info exists env(SKIBOOT_ZIMAGE)] } {