mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 04:36:13 +02:00
x86: Correct usage of IS_ENABLED() macro in arch/x86/lib/spl.c
This file was using IS_ENABLED() to test for CONFIG flags but omitted the CONFIG_ prefix and so did not work as expected. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
4cc29d0109
commit
cd2dc5f448
@ -82,7 +82,7 @@ static int x86_spl_init(void)
|
||||
int ret;
|
||||
|
||||
log_debug("x86 spl starting\n");
|
||||
if (IS_ENABLED(TPL))
|
||||
if (IS_ENABLED(CONFIG_TPL))
|
||||
ret = x86_cpu_reinit_f();
|
||||
ret = spl_init();
|
||||
if (ret) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user