mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-01 08:55:34 +00:00
x86: spl: Drop duplicate CPU init
x86_cpu_init_f() is called by arch_cpu_init() a few lines below this code. Drop the duplicate call. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
912e32d34f
commit
e93da0399c
1 changed files with 0 additions and 2 deletions
|
@ -84,8 +84,6 @@ static int x86_spl_init(void)
|
|||
log_debug("x86 spl starting\n");
|
||||
if (IS_ENABLED(TPL))
|
||||
ret = x86_cpu_reinit_f();
|
||||
else
|
||||
ret = x86_cpu_init_f();
|
||||
ret = spl_init();
|
||||
if (ret) {
|
||||
log_debug("spl_init() failed (err=%d)\n", ret);
|
||||
|
|
Loading…
Add table
Reference in a new issue