From: Simon Glass <sjg@chromium.org>
Date: Sun, 5 Feb 2023 22:40:15 +0000 (-0700)
Subject: Correct SPL use of MIPS_CM
X-Git-Tag: v2025.01-rc5-pxa1908~1114^2~57
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/%7B%7B?a=commitdiff_plain;h=a8673927910c6354477c4a9889dcba718f43b34a;p=u-boot.git

Correct SPL use of MIPS_CM

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_MIPS_CM defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
---

diff --git a/arch/mips/include/asm/cm.h b/arch/mips/include/asm/cm.h
index 5cc8c09621..c695ffc71f 100644
--- a/arch/mips/include/asm/cm.h
+++ b/arch/mips/include/asm/cm.h
@@ -108,7 +108,7 @@
 #include <asm/io.h>
 #include <linux/bitops.h>
 
-#if CONFIG_IS_ENABLED(MIPS_CM)
+#if IS_ENABLED(CONFIG_MIPS_CM)
 static inline void *mips_cm_base(void)
 {
 	return (void *)CKSEG1ADDR(CONFIG_MIPS_CM_BASE);