summaryrefslogtreecommitdiff
path: root/drivers/misc/fsl_ifc.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 15:36:08 -0700
committerTom Rini <trini@konsulko.com>2023-02-09 16:32:25 -0500
commit684787e7d7d3ac31a46c1e23a49249d49cde1550 (patch)
tree2693f3445b4077c88412f6d4f3a200bb34cc0927 /drivers/misc/fsl_ifc.c
parentffff21fb27291227f6ae680b45b88147e2cb2a87 (diff)
downloadu-boot-684787e7d7d3ac31a46c1e23a49249d49cde1550.tar.gz
Correct SPL use of A003399_NOR_WORKAROUND
This converts 1 usage of this option to the non-SPL form, since there is no SPL_A003399_NOR_WORKAROUND defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc/fsl_ifc.c')
-rw-r--r--drivers/misc/fsl_ifc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/fsl_ifc.c b/drivers/misc/fsl_ifc.c
index 58b0058736..f165b8c36b 100644
--- a/drivers/misc/fsl_ifc.c
+++ b/drivers/misc/fsl_ifc.c
@@ -371,7 +371,7 @@ void init_early_memctl_regs(void)
for (i = 0 ; i < regs_info.cs_size; i++) {
if (regs[i].pr && (regs[i].pr & CSPR_V)) {
/* skip setting cspr/csor_ext in below condition */
- if (!(CONFIG_IS_ENABLED(A003399_NOR_WORKAROUND) &&
+ if (!(IS_ENABLED(CONFIG_A003399_NOR_WORKAROUND) &&
i == 0 &&
((regs[0].pr & CSPR_MSEL) == CSPR_MSEL_NOR))) {
if (regs[i].pr_ext)