PPC: BookE: Implement EPR SPR
On the e500 series, accessing SPR_EPR magically turns into an access atthat CPU's IACK register on the MPIC. Implement that logic to get kernelsthat make use of that feature work.
Signed-off-by: Alexander Graf <agraf@suse.de>
PPC: BookE: Make ivpr selectable by CPU type
IVPR can either hold 32 or 64 bit addresses, depending on the CPU type. Letthe CPU initialization function pass in its mask itself, so we can easilyextend it.
PPC: Add e5500 CPU target
This patch adds e5500's CPU initialization to the TCG CPU initializationcode.
PPC: Extract SPR dump generation into its own function
This patch moves the debug #ifdef'ed SPR trace generation into itsown function, so we can call it from multiple places.
PPC: e500: Refactor serial dt generation
When generating serial port device tree nodes, we duplicate quite a bitof code, because there are 2 of them in the mpc8544ds board we emulate.
Shove the generating code into a function, so we duplicate less code....
dt: make setprop argument static
Whatever we pass in to qemu_devtree_setprop to put into the device treewill not get modified by that function, so it can easily be declared const.
Signed-off-by: Alexander Graf <agraf@suse.de>Reviewed-by: Peter Crosthwaite <peter.crosthwaite@petalogix.com>
PPC: e500: allow users to set the /compatible property via -machine
Device trees usually have a node /compatible, which indicate which machinetype we're looking at. For quick prototyping, it can be very useful to changethe contents of that node via the command line....
uImage: increase the gzip load size
Recent u-boot has different defines for its gzip extract buffer, but thecommon ground seems to be 64MB. So let's bump it up to that, enabling meto load my test image again ;).
PPC: Add some booke SPR defines
The number of SPRs avaiable in different PowerPC chip is still increasing. Adddefinitions for the MAS7_MAS3 SPR and all currently known bits in EPCR.
PPC: Add support for MSR_CM
The BookE variant of MSR_SF is MSR_CM. Implement everything it takes in TCG tosupport running 64bit code with MSR_CM set.
View all revisions | View revisions
Also available in: Atom