summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam.mj@au1.ibm.com>2015-08-20 17:15:43 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-08-21 12:07:07 +1000
commitdd3c3ec045ff47adb5531a49bda50e4c86cd38fa (patch)
tree1ac52826a28cefaffaa55fa295794b5bf43d5713
parentcf16f91604ef9bebd6752a3c497058f0bcdc65cd (diff)
downloadtalos-skiboot-dd3c3ec045ff47adb5531a49bda50e4c86cd38fa.tar.gz
talos-skiboot-dd3c3ec045ff47adb5531a49bda50e4c86cd38fa.zip
external/mambo: Update PVR value
Running little-endian kernels in mambo requires HILE to be set properly, which requires a bump in the machine's pvr value to a DD2.x chip. Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--external/mambo/skiboot.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl
index c6e303bf..2d14be61 100644
--- a/external/mambo/skiboot.tcl
+++ b/external/mambo/skiboot.tcl
@@ -171,6 +171,7 @@ mysim memory fread $mconf(payload_addr) $payload_size $mconf(payload)
for { set i 0 } { $i < $mconf(threads) } { incr i } {
mysim mcm 0 cpu 0 thread $i set spr pc $mconf(boot_pc)
mysim mcm 0 cpu 0 thread $i set gpr 3 $mconf(epapr_dt_addr)
+ mysim mcm 0 cpu 0 thread $i set spr pvr 0x4b0201
mysim mcm 0 cpu 0 thread $i config_on
}
OpenPOWER on IntegriCloud