diff options
author | Simon Glass <sjg@chromium.org> | 2022-01-22 15:07:23 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-09 07:07:59 +0300 |
commit | d67f9e35c4573fd6389d41a7dfdfaf1e6a155005 (patch) | |
tree | 704cb22aa8c5f4e109c048da121f373af3cc2fc7 /arch/mips/lib/cache.c | |
parent | 5c86a8f7a191f0034fd992314874b669414dc5a0 (diff) | |
download | u-boot-d67f9e35c4573fd6389d41a7dfdfaf1e6a155005.tar.xz |
mips: Avoid using config_enabled() directly
Use IS_ENABLED() instead, which is the correct macro for checking a CONFIG
option.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/mips/lib/cache.c')
-rw-r--r-- | arch/mips/lib/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lib/cache.c b/arch/mips/lib/cache.c index 51a8f43347..ec652f0fba 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 */ |