]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: broadwell: Avoid initing the CPU twice
authorSimon Glass <sjg@chromium.org>
Thu, 7 Sep 2023 15:58:18 +0000 (09:58 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 21 Sep 2023 22:03:46 +0000 (06:03 +0800)
commit3ca9b86e2344ddea2dafc2c1edb24cf010149249
tree28849b570e3a5b113a7937784276e738ced8e1fd
parent623b3e8f9718a1fbd612b3e42451859e9f98a947
x86: broadwell: Avoid initing the CPU twice

When TPL has already set up the CPU, don't do it again. This existing
code actually has this backwards, so fix it.

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