Skip to contentSkip to conversation

arm: omap-common: Fix typo in CONFIG_OMAP54XX guard

PATCH In review Matthijs van Duin 2 participants 3 messages Mar 7, 2017 – Mar 12, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: omap-common: Fix typo in CONFIG_OMAP54XX guard

Some initialization was unintentionally being skipped on omap5.

Fixes f5af0827f276 ("arm: omap-common: Guard some parts of the code with CONFIG_OMAP44XX/OMAP54XX")
---
 arch/arm/mach-omap2/emif-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap2/emif-common.c +1 -1
index b26984e26c5e..def7fe0f0a85 100644
@@ -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);
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 arm: omap-common: Fix typo in CONFIG_OMAP54XX guard

Quoted 4 lines · Matthijs van Duin

Some initialization was unintentionally being skipped on omap5.

Fixes f5af0827f276 ("arm: omap-common: Guard some parts of the code with CONFIG_OMAP44XX/OMAP54XX")
Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170310/6234e72b/attachment.sig>
#2 lore raw
In reply to Matthijs van Duin
Quoted 5 lines · Matthijs van Duin

Some initialization was unintentionally being skipped on omap5.

Fixes f5af0827f276 ("arm: omap-common: Guard some parts of the code with CONFIG_OMAP44XX/OMAP54XX")

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170311/a14bd1f5/attachment.sig>