Skip to content
Snippets Groups Projects
Commit c9592e3c authored by Matthijs van Duin's avatar Matthijs van Duin Committed by Tom Rini
Browse files

arm: omap-common: Fix typo in CONFIG_OMAP54XX guard


Some initialization was unintentionally being skipped on omap5.

Fixes: f5af0827 ("arm: omap-common: Guard some parts of the code with CONFIG_OMAP44XX/OMAP54XX")
Signed-off-by: default avatarMatthijs van Duin <matthijsvanduin@gmail.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 66a7a246
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment