diff options
author | Matthijs van Duin <matthijsvanduin@gmail.com> | 2017-03-07 03:42:24 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-03-11 22:30:29 -0500 |
commit | c9592e3c5c97981787c0d82f768a6971deb4837d (patch) | |
tree | 67548f686bcac5cb6a133a2f56c383468a4b0add /arch/arm | |
parent | 66a7a2464870700b17d7235ff247c45d705ed5f7 (diff) |
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")
Signed-off-by: Matthijs van Duin <matthijsvanduin@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/emif-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/emif-common.c b/arch/arm/mach-omap2/emif-common.c index b26984e26c..def7fe0f0a 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); |