Commit Graph

7 Commits

Author SHA1 Message Date
Thomas Huth 8835553822 Use rtas-start-cpu from common code folder.
No need to redefine rtas-start-cpu in the board-qemu folder again, we can use
the function from the common code folder instead.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2012-04-25 19:29:07 +02:00
Thomas Huth 5c79eb0c59 Enable RTAS reboot and power-off for board-qemu, too.
Now that QEMU supports these two RTAS calls, we can also use them on board-qemu.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2012-04-25 19:21:49 +02:00
Benjamin Herrenschmidt 68e63dafa7 Change RTAS checkpoint numbers to avoid overlap
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-02-22 10:29:11 +11:00
Benjamin Herrenschmidt c1394c3d2a Support new-style PCI for qemu board
We now support populating the device-nodes ourselves when using
a newer qemu which doesn't do it anymore.

Note: I have removed the support for working with the existing
device nodes, so qemu needs to be updated in sync with slof

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-01-11 12:48:40 +11:00
Thomas Huth c691959389 Set up PCI nodes on board-qemu
Populate the PCI device tree nodes with additional properties and words, and
provide enough of the SLOF PCI framework to be able to use the nodes with our
device specific drivers.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2011-10-12 16:21:48 +02:00
Benjamin Herrenschmidt c9d1203de0 Add RTAS config space accessors and skeletton PHB
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-10-12 13:20:00 +02:00
Benjamin Herrenschmidt 39426bad55 Initial qemu/KVM board support
Added a new board for SLOF running on KVM/qemu.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2011-03-22 15:22:00 +01:00