]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Use microcode update from device tree for all processors
authorIvan Gorinov <ivan.gorinov@intel.com>
Fri, 22 Jun 2018 04:16:16 +0000 (21:16 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 2 Jul 2018 01:23:28 +0000 (09:23 +0800)
commit2021328688ed5e06234e3a5e94843cdeb2ffd3bc
tree10fb5e497fe4545b0a60cd083bda855b0b03801c
parent2bdf5112082e18aa02bd3707335d373cf8c56001
x86: Use microcode update from device tree for all processors

Built without a ROM image with FSP (u-boot.rom), the U-Boot loader applies
the microcode update data block encoded in Device Tree to the bootstrap
processor but not passed to the other CPUs when multiprocessing is enabled.

If the bootstrap processor successfully performs a microcode update
from Device Tree, use the same data block for the other processors.

Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: fixed build errors on edison and qemu-x86]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/intel_common/car.S
arch/x86/cpu/intel_common/microcode.c
arch/x86/include/asm/microcode.h
arch/x86/lib/fsp/fsp_car.S