summaryrefslogtreecommitdiff
path: root/arch/mips/lib/cache.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-02-09 09:29:07 -0500
committerTom Rini <trini@konsulko.com>2022-02-09 09:29:07 -0500
commit859703251251d9567f29ab10c0a29f98eb0aff5c (patch)
treee0863f7cced9c153b8b083575d52faec05fae8d7 /arch/mips/lib/cache.c
parent531c00894577a0a852431adf61ade76925f8b162 (diff)
parentcccc4ab86f5e64ea6fe1e79b3ca2453baa049120 (diff)
Merge branch '2022-02-08-Kconfig-updates'
- Assorted general code cleanups to make sure we use the right macros and use them correctly and buildman updates around kconfig.h itself. - Convert some IDE and SCSI symbols to Kconfig. - Convert CONFIG_REMAKE_ELF - Introduce conversion deadline for DM_SCSI.
Diffstat (limited to 'arch/mips/lib/cache.c')
-rw-r--r--arch/mips/lib/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lib/cache.c b/arch/mips/lib/cache.c
index 51a8f433475..ec652f0fba8 100644
--- a/arch/mips/lib/cache.c
+++ b/arch/mips/lib/cache.c
@@ -38,7 +38,7 @@ static void probe_l2(void)
l2c = read_c0_config5() & MIPS_CONF5_L2C;
}
- if (l2c && config_enabled(CONFIG_MIPS_CM)) {
+ if (l2c && IS_ENABLED(CONFIG_MIPS_CM)) {
gd->arch.l2_line_size = mips_cm_l2_line_size();
} else if (l2c) {
/* We don't know how to retrieve L2 config on this system */