qemu: wind up new cpu chip
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 31 May 2013 07:26:55 +0000 (09:26 +0200)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Thu, 6 Jun 2013 18:52:48 +0000 (20:52 +0200)
commitaa588e027301063731b80e3e22a4ea3b1c0c08f1
tree6ae582d106b4a49c2d0905b39c29675cbcbbf76b
parentcbf30736b60c6076a82ff256b1bd5246a6af83c0
qemu: wind up new cpu chip

Add boot cpu to the device tree.  Figure the number of CPUs installed
(using the qemu firmware config interface) and add cpu devices for them,
so they show up in all generated BIOS tables correctly.  This gets SMP
going.

Change-Id: I0e99f98942d8ca90150b27fc13c1c7e926a1a644
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-on: http://review.coreboot.org/3345
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/mainboard/emulation/qemu-x86/Kconfig
src/mainboard/emulation/qemu-x86/devicetree.cb
src/mainboard/emulation/qemu-x86/northbridge.c