]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
PPC 85xx QEMU: Always assume 1 core
authorAlexander Graf <agraf@suse.de>
Wed, 30 Apr 2014 17:21:10 +0000 (19:21 +0200)
committerYork Sun <yorksun@freescale.com>
Tue, 13 May 2014 15:26:55 +0000 (08:26 -0700)
commitb539534d120c3f017965b25aa36fcfb75db8383c
tree6a5b8766ea4c7b643f279f1fe3a46eb547008029
parent522641a78862d2ecf9b89cc29dfb4429ee1b4103
PPC 85xx QEMU: Always assume 1 core

We only need u-boot to bother about a single core in the QEMU machine.
Everything that would require additional knowledge of more cores gets
handled by QEMU and passed straight into the payload we execute.

Because of this setup, it would be counterproductive to enable SMP support
in u-boot. We would have to rip CPUs out of already existing spin tables
and respin them from u-boot. It would be a pretty big mess.

So only assume we have a single core. This fixes errors about CONFIG_MP
being disabled.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/cpu/mpc8xxx/cpu.c
board/freescale/qemu-ppce500/qemu-ppce500.c