u-boot-brain/arch
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
..
arc axs103: add support of generic OHCI USB 1.1 controller 2015-12-21 23:29:04 +03:00
arm am33xx/am43xx: Add platform data for GPIOs 2016-01-08 10:15:45 -05:00
avr32 avr32: Use the generic bitops headers 2015-11-05 10:52:31 -05:00
blackfin Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
m68k m68k: add private libgcc 2015-12-13 20:22:00 -05:00
microblaze microblaze: Enable DM by default 2015-12-18 13:15:58 +01:00
mips Merge branch 'master' of git://git.denx.de/u-boot-mips 2015-11-06 09:17:17 -05:00
nds32 nds32: Use the generic bitops headers 2015-11-05 10:52:21 -05:00
nios2 nios2: display altera sysid at startup 2015-12-19 09:51:19 +08:00
openrisc openrisc: updating build tools naming convention 2015-11-12 18:13:20 -05:00
powerpc powerpc: Various typo fixes under arch/powerpc/cpu/mpc83xx 2016-01-08 10:15:43 -05:00
sandbox test: add sandbox timer to test.dts 2016-01-07 10:27:07 -07:00
sh Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
sparc sparc: Remove non-generic board init files: board.c, time.c 2015-12-03 13:15:50 +02:00
x86 x86: qemu: fix cpu device in smp boot 2016-01-13 12:20:16 +08:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig m68k: add private libgcc 2015-12-13 20:22:00 -05:00