arch/x86/assembly_entry: Remove cpu_info
Since cpu_info() is no longer required to use threads, we no longer need to initialize it in romstage or earlier. This code was also incomplete since it didn't initialize the %gs segment. BUG=b:179699789 TEST=Boot guybrush to OS Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I615b718e9f035ca68ecca9f57d7f4121db0c83b0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58203 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
parent
c2c38f5fde
commit
8e9db4eed5
|
@ -1,6 +1,5 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
#include <cpu/x86/cpu_info.S.inc>
|
|
||||||
#include <rules.h>
|
#include <rules.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -36,8 +35,6 @@ _start:
|
||||||
/* reset stack pointer to CAR/EARLYRAM stack */
|
/* reset stack pointer to CAR/EARLYRAM stack */
|
||||||
mov $_STACK_TOP, %esp
|
mov $_STACK_TOP, %esp
|
||||||
|
|
||||||
push_cpu_info
|
|
||||||
|
|
||||||
/* clear .bss section as it is not shared */
|
/* clear .bss section as it is not shared */
|
||||||
cld
|
cld
|
||||||
xor %eax, %eax
|
xor %eax, %eax
|
||||||
|
|
Loading…
Reference in New Issue