PPC: mac newworld: fix cpu NIP reset value
commit20f649dd22dae13301c906c27a8768a318591ae8
authorAlexander Graf <agraf@suse.de>
Thu, 4 Apr 2013 16:45:07 +0000 (4 18:45 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 21:02:41 +0000 (26 23:02 +0200)
tree295b312a70ae192bf992547ebf75bf912a0a43f5
parent31f2cb8ff415e376b05335dcf63ba38c00f29e5e
PPC: mac newworld: fix cpu NIP reset value

On -M mac99, we can run 970 CPUs. However, these CPUs define the initial
instruction pointer they start execution at as part of their bootup protocol,
so effectively it's up to the board to decide where they start.

This went unnoticed, because they used to boot at the same location our flash
was mapped to, but due to the recent reset changes our 970 CPUs want to reset
to 0x100 now, which is always a 0 instruction.

Set the initial IP to something reasonable for -M mac99.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Fabien Chouteau <chouteau@adacore.com>
hw/ppc/mac_newworld.c