u-boot/arch/x86/cpu/qemu
Miao Yan 5a694056fe x86: qemu: add a cpu uclass driver for qemu target
Add a cpu uclass driver for qemu. Previously, the qemu target gets cpu
number from board dts files, which are manually created at compile time.
This does not scale when more cpus are assigned to guest as the dts files
must be modified as well.

This patch adds a cpu uclass driver for qemu targets to directly read
online cpu number from firmware.

Signed-off-by: Miao Yan <yanmiaobest@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
2016-01-13 12:20:15 +08:00
..
acpi x86: Add DSDT table for supporting ACPI on QEMU 2015-08-26 07:54:14 -07:00
acpi.c x86: Add ACPI table support to QEMU 2015-08-26 07:54:14 -07:00
car.S x86: Support QEMU x86 targets 2015-06-04 02:39:38 -06:00
cpu.c x86: qemu: add a cpu uclass driver for qemu target 2016-01-13 12:20:15 +08:00
dram.c x86: Support QEMU x86 targets 2015-06-04 02:39:38 -06:00
dsdt.asl x86: Add DSDT table for supporting ACPI on QEMU 2015-08-26 07:54:14 -07:00
fw_cfg.c x86: qemu: add fw_cfg support 2016-01-13 12:20:15 +08:00
Kconfig x86: tsc: Remove legacy timer codes 2015-12-01 06:26:35 -07:00
Makefile x86: qemu: add a cpu uclass driver for qemu target 2016-01-13 12:20:15 +08:00
qemu.c x86: qemu: add fw_cfg support 2016-01-13 12:20:15 +08:00