]> git.sur5r.net Git - u-boot/commitdiff
arm: omap-common: Fix typo in CONFIG_OMAP54XX guard
authorMatthijs van Duin <matthijsvanduin@gmail.com>
Tue, 7 Mar 2017 02:42:24 +0000 (03:42 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 12 Mar 2017 03:30:29 +0000 (22:30 -0500)
Some initialization was unintentionally being skipped on omap5.

Fixes: f5af0827f276 ("arm: omap-common: Guard some parts of the code with CONFIG_OMAP44XX/OMAP54XX")
Signed-off-by: Matthijs van Duin <matthijsvanduin@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-omap2/emif-common.c

index b26984e26c5e8648598a36380d991fb34d1dd3df..def7fe0f0a85bae647d502fde2ccad04d93fc0c3 100644 (file)
@@ -1195,7 +1195,7 @@ static void do_sdram_init(u32 base)
                        ddr3_init(base, regs);
 #endif
        }
-#ifdef CONFIG_OMAP54X
+#ifdef CONFIG_OMAP54XX
        if (warm_reset() && (emif_sdram_type(regs->sdram_config) ==
            EMIF_SDRAM_TYPE_DDR3) && !is_dra7xx()) {
                set_lpmode_selfrefresh(base);