aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 15:39:31 -0700
committerTom Rini <trini@konsulko.com>2023-02-09 16:32:26 -0500
commit7c31107249da086c44cd4ab930941c921a233a6e (patch)
tree4004b25e5d1d87f10bd8ab78f2f8cae4fef3d162 /arch/microblaze
parent93bb62abaf0bdc5003a7dc40f266db29ff0b9b13 (diff)
downloadu-boot-7c31107249da086c44cd4ab930941c921a233a6e.zip
u-boot-7c31107249da086c44cd4ab930941c921a233a6e.tar.gz
u-boot-7c31107249da086c44cd4ab930941c921a233a6e.tar.bz2
Correct SPL uses of CPU_MICROBLAZE
This converts 2 usages of this option to the non-SPL form, since there is no SPL_CPU_MICROBLAZE defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/cpu/cpuinfo.c2
-rw-r--r--arch/microblaze/include/asm/cpuinfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/cpu/cpuinfo.c b/arch/microblaze/cpu/cpuinfo.c
index f021f4e..6b15d6c 100644
--- a/arch/microblaze/cpu/cpuinfo.c
+++ b/arch/microblaze/cpu/cpuinfo.c
@@ -8,7 +8,7 @@
DECLARE_GLOBAL_DATA_PTR;
-#if CONFIG_IS_ENABLED(CPU_MICROBLAZE)
+#if IS_ENABLED(CONFIG_CPU_MICROBLAZE)
/* These key value are as per MBV field in PVR0 */
static const struct microblaze_version_map cpu_ver_lookup[] = {
{"5.00.a", 0x01},
diff --git a/arch/microblaze/include/asm/cpuinfo.h b/arch/microblaze/include/asm/cpuinfo.h
index 86d2c8a..3c58e52 100644
--- a/arch/microblaze/include/asm/cpuinfo.h
+++ b/arch/microblaze/include/asm/cpuinfo.h
@@ -26,7 +26,7 @@ struct microblaze_cpuinfo {
u32 dcache_size;
u32 dcache_line_length;
-#if CONFIG_IS_ENABLED(CPU_MICROBLAZE)
+#if IS_ENABLED(CONFIG_CPU_MICROBLAZE)
u32 use_mmu;
u32 cpu_freq;
u32 addr_size;