diff options
author | Michael Neuling <mikey@neuling.org> | 2015-10-20 15:49:02 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-10-21 14:52:22 +1100 |
commit | 07968d94d0604235c0a0cf39fb7e60f421a0f1f8 (patch) | |
tree | 749d3f953a77308135c08cd2ecefbb1df3b108bc /external | |
parent | 05f9cf285620d3de0eae97bfbc6b7cb1c74ab8b6 (diff) | |
download | skiboot-07968d94d0604235c0a0cf39fb7e60f421a0f1f8.zip skiboot-07968d94d0604235c0a0cf39fb7e60f421a0f1f8.tar.gz skiboot-07968d94d0604235c0a0cf39fb7e60f421a0f1f8.tar.bz2 |
mambo: Advertise the sim supports 256M and 1TB segments in device tree
Advertise the sim supports 256M and 1TB segments in device tree. If
we don't have this, Linux will default to 256MB segments.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/mambo/skiboot.tcl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/external/mambo/skiboot.tcl b/external/mambo/skiboot.tcl index 5946985..c6e3748 100644 --- a/external/mambo/skiboot.tcl +++ b/external/mambo/skiboot.tcl @@ -147,6 +147,8 @@ mysim of addprop $cpus_node int "#size-cells" 0 set cpu0_node [mysim of find_device "/cpus/PowerPC@0"] mysim of addprop $cpu0_node int "ibm,chip-id" 0 +set reg [list 0x0000001c00000028 0xffffffffffffffff] +mysim of addprop $cpu0_node array64 "ibm,processor-segment-sizes" reg set mem0_node [mysim of find_device "/memory@0"] mysim of addprop $mem0_node int "ibm,chip-id" 0 |