Correct SPL use of DISPLAY_CPUINFO
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:39:36 +0000 (15:39 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000 (16:32 -0500)
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@chromium.org>
arch/arm/mach-rockchip/cpu-info.c

index d0f0301..dac2491 100644 (file)
@@ -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();