aboutsummaryrefslogtreecommitdiff
path: root/pc-bios
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-06-02 13:53:40 +0200
committerAlexander Graf <agraf@suse.de>2011-06-17 02:58:23 +0200
commitb0fb84236da4a36a852010b6b5d5d3ca497a2b68 (patch)
tree870571337a99ee5de81c8150a641b49f80a27bd0 /pc-bios
parenteb47d7c5d96060040931c42773ee07e61e547af9 (diff)
PPC: E500: Implement reboot controller
When Linux reboots an e500 VM, it writes to a magic register in the "global-utilities" device indicated by the device tree. We were not emulating that device so far, rendering the VM reboot-less. This patch implements that device with only the reboot functionality implemented and adds it to the device tree. With this patch applied, I can successfully reboot a -M mpc8544ds VM. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Andreas Färber <andreas.faerber@web.de>
Diffstat (limited to 'pc-bios')
-rw-r--r--pc-bios/mpc8544ds.dtbbin12288 -> 2257 bytes
-rw-r--r--pc-bios/mpc8544ds.dts6
2 files changed, 6 insertions, 0 deletions
diff --git a/pc-bios/mpc8544ds.dtb b/pc-bios/mpc8544ds.dtb
index 3299546696..189224e587 100644
--- a/pc-bios/mpc8544ds.dtb
+++ b/pc-bios/mpc8544ds.dtb
Binary files differ
diff --git a/pc-bios/mpc8544ds.dts b/pc-bios/mpc8544ds.dts
index 872152df93..fd792d5f88 100644
--- a/pc-bios/mpc8544ds.dts
+++ b/pc-bios/mpc8544ds.dts
@@ -82,6 +82,12 @@
compatible = "chrp,open-pic";
device_type = "open-pic";
};
+
+ global-utilities@e0000 { //global utilities block
+ compatible = "fsl,mpc8544-guts";
+ reg = <0xe0000 0x1000>;
+ fsl,has-rstcr;
+ };
};
pci0: pci@e0008000 {