diff options
author | Tom Rini | 2021-02-04 08:18:57 -0500 |
---|---|---|
committer | Tom Rini | 2021-02-04 08:18:57 -0500 |
commit | 67472aa0594186a203e4384ef82b313b0b5922e9 (patch) | |
tree | 0d0310c7acbd32c087ba71578f8b2be1a273c3e2 /arch | |
parent | fdcb93e1709ab1a2ebb562455621617c29e2099c (diff) | |
parent | 18c25821836b4673aa67a43c792a4a82480f47fa (diff) |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86
- Fix broken multi-core boot for QEMU x86
- Add zboot support to boot x86 Linux kernel image in the PXE sysboot
utility
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/cpu/qfw_cpu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/cpu/qfw_cpu.c b/arch/x86/cpu/qfw_cpu.c index a35de878b5d..b959eadddef 100644 --- a/arch/x86/cpu/qfw_cpu.c +++ b/arch/x86/cpu/qfw_cpu.c @@ -17,10 +17,16 @@ int qemu_cpu_fixup(void) int ret; int cpu_num; int cpu_online; + struct uclass *uc; struct udevice *dev, *pdev; struct cpu_plat *plat; char *cpu; + /* This will cause the CPUs devices to be bound */ + ret = uclass_get(UCLASS_CPU, &uc); + if (ret) + return ret; + /* first we need to find '/cpus' */ for (device_find_first_child(dm_root(), &pdev); pdev; |