]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: coreboot: Rearrange arch_cpu_init()
authorSimon Glass <sjg@chromium.org>
Wed, 20 Sep 2023 03:00:04 +0000 (21:00 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 21 Sep 2023 22:03:46 +0000 (06:03 +0800)
commit2c6b979ec163afe72211eca571daee352a030c85
tree3b91b25899df2a98d1e4b7fd6915d57d528297ad
parent04ecda0e1dffef40028d2dc66e7d47b7dcc7b4a5
x86: coreboot: Rearrange arch_cpu_init()

Init errors in SPL are currently ignored by this function.

Change the code to init the CPU, reporting an error if something is wrong.
After that, look for the coreboot table.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/coreboot/coreboot.c