]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of A003399_NOR_WORKAROUND
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:08 +0000 (15:36 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:25 +0000 (16:32 -0500)
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>
drivers/misc/fsl_ifc.c

index 58b00587363d3574a1a40aff8365e708b15d5989..f165b8c36ba445cf01d53b41206c3b5247e3cbf3 100644 (file)
@@ -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)