diff mbox

[U-Boot] arm: omap-common: Fix typo in CONFIG_OMAP54XX guard

Message ID 20170307024224.5fab4r25rwayklgz@squirrel.local
State Accepted
Commit c9592e3c5c97981787c0d82f768a6971deb4837d
Delegated to: Tom Rini
Headers show

Commit Message

Matthijs van Duin March 7, 2017, 2:42 a.m. UTC
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>
---
 arch/arm/mach-omap2/emif-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini March 10, 2017, 3:09 p.m. UTC | #1
On Tue, Mar 07, 2017 at 03:42:24AM +0100, Matthijs van Duin wrote:

> 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>
Tom Rini March 12, 2017, 3:30 a.m. UTC | #2
On Tue, Mar 07, 2017 at 03:42:24AM +0100, Matthijs van Duin wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/emif-common.c b/arch/arm/mach-omap2/emif-common.c
index b26984e26c5e..def7fe0f0a85 100644
--- a/arch/arm/mach-omap2/emif-common.c
+++ b/arch/arm/mach-omap2/emif-common.c
@@ -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);