summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-15 08:11:18 +0300
committerSimon Glass <sjg@chromium.org>2021-03-27 05:04:31 +0300
commit529d5f96cf7be9ae60db1a5f1c2a2aa0a3d5d26d (patch)
treebf7a278db2140115a37d256a277fdd6c2c38c4d3 /arch/x86
parentb3b60f59124a1f4fdcee5b7eff3f057e33cfa4c7 (diff)
downloadu-boot-529d5f96cf7be9ae60db1a5f1c2a2aa0a3d5d26d.tar.xz
cpu: Rename SPL_CPU_SUPPORT to SPL_CPU
The _SUPPORT suffix is from an earlier time and interferes with use of the CONFIG_IS_ENABLED() macro. Rename the option to drop the suffix. Tidy up the TODO that prompted this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/lib/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c
index 1bae1f4f32..b18c1cd609 100644
--- a/arch/x86/lib/spl.c
+++ b/arch/x86/lib/spl.c
@@ -96,7 +96,7 @@ static int x86_spl_init(void)
}
#endif
preloader_console_init();
-#ifndef CONFIG_TPL
+#if !defined(CONFIG_TPL) && !CONFIG_IS_ENABLED(CPU)
ret = print_cpuinfo();
if (ret) {
debug("%s: print_cpuinfo() failed\n", __func__);