u-boot/arch/x86/cpu
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
..
baytrail x86: fsp: Set up init runtime buffer in update_fsp_configs() 2016-01-13 12:20:14 +08:00
coreboot x86: Convert to use driver model timer 2015-12-01 06:26:35 -07:00
efi x86: Convert to use driver model timer 2015-12-01 06:26:35 -07:00
ivybridge x86: ivybridge: Do not require HAVE_INTEL_ME 2016-01-13 12:20:15 +08:00
qemu x86: qemu: fix cpu device in smp boot 2016-01-13 12:20:16 +08:00
quark x86: tsc: Remove legacy timer codes 2015-12-01 06:26:35 -07:00
queensbay x86: fsp: Set up init runtime buffer in update_fsp_configs() 2016-01-13 12:20:14 +08:00
call32.S x86: Add a way to call 32-bit code from 64-bit mode 2015-08-05 08:44:07 -06:00
call64.S x86: Tidy up the 64-bit calling code 2015-08-05 08:42:41 -06:00
config.mk x86: Add Kconfig options to be used by arch/x86/cpu/config.mk 2015-07-14 18:03:15 -06:00
cpu.c x86: Move i8254_init() to x86_cpu_init_f() 2015-12-09 17:44:44 +08:00
cpu_x86.c x86: Move MP initialization codes into a common place 2015-07-14 18:03:16 -06:00
interrupts.c x86: Rename pcat_ to i8254 and i8259 accordingly 2015-11-13 06:46:18 -08:00
ioapic.c x86: Add I/O APIC register access routines 2015-07-14 18:03:17 -06:00
irq.c x86: Allow pirq_init() to return an error 2015-08-14 03:24:21 -06:00
lapic.c x86: Remove inline for lapic access routines 2015-07-14 18:03:17 -06:00
Makefile x86: ivybridge: Remove NORTHBRIDGE_INTEL_SANDYBRIDGE 2015-12-09 17:44:50 +08:00
mp_init.c x86: qemu: fix cpu device in smp boot 2016-01-13 12:20:16 +08:00
mtrr.c x86: Test mtrr support flag before accessing mtrr msr 2015-01-23 17:24:55 -07:00
pci.c x86: Remove legacy pci codes 2015-11-13 06:46:25 -08:00
resetvec.S Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sipi_vector.S x86: Pass correct cpu_index to ap_init() 2015-10-21 07:46:27 -06:00
start.S x86: Init the debug UART if enabled 2015-10-21 07:46:50 -06:00
start16.S x86: fsp: Load GDT before calling FspInitEntry 2015-07-14 18:03:15 -06:00
turbo.c x86: Add Intel speedstep and turbo mode code 2014-11-25 06:34:02 -07:00
u-boot.lds x86: Factor out common values in the link script 2014-11-25 06:33:59 -07:00