[PATCH 069/171] Correct SPL use of DISPLAY_CPUINFO
Simon Glass
sjg at chromium.org
Mon Jan 30 15:41:42 CET 2023
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_DISPLAY_CPUINFO defined in Kconfig
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/arm/mach-rockchip/cpu-info.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-rockchip/cpu-info.c b/arch/arm/mach-rockchip/cpu-info.c
index d0f030109f4..dac24910e0c 100644
--- a/arch/arm/mach-rockchip/cpu-info.c
+++ b/arch/arm/mach-rockchip/cpu-info.c
@@ -44,7 +44,7 @@ char *get_reset_cause(void)
return cause;
}
-#if CONFIG_IS_ENABLED(DISPLAY_CPUINFO)
+#if IS_ENABLED(CONFIG_DISPLAY_CPUINFO)
int print_cpuinfo(void)
{
char *cause = get_reset_cause();
--
2.39.1.456.gfc5497dd1b-goog
More information about the U-Boot
mailing list