u-boot/arch/x86
Miao Yan de752c5e73 x86: qemu: fix cpu device in smp boot
Currently, when booting with more that one CPU enabled, U-Boot scans
'cpu' node in device tree and calculates CPU number. This does not scale
well as changing CPU number also requires modifying .dts and re-compiling
U-Boot.

This patch uses fw_cfg interface provided by QEMU to detect online CPU
number at runtime, and dynamically adds 'cpu' device to U-Boot's driver
model.

Signed-off-by: Miao Yan <yanmiaobest@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
2016-01-13 12:20:16 +08:00
..
cpu x86: qemu: fix cpu device in smp boot 2016-01-13 12:20:16 +08:00
dts x86: qemu: add a cpu uclass driver for qemu target 2016-01-13 12:20:15 +08:00
include/asm x86: qemu: add fw_cfg support 2016-01-13 12:20:15 +08:00
lib x86: fsp: Always use hex numbers in the hob command output 2016-01-13 12:20:15 +08:00
config.mk efi: Add 64-bit payload support 2015-08-05 08:44:07 -06:00
Kconfig x86: fsp: Introduce CONFIG_FSP_USE_UPD Kconfig option 2016-01-13 12:20:14 +08:00
Makefile x86: Add support for U-Boot as an EFI application 2015-08-05 08:44:06 -06:00