projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: OMAP4+: emif: Detect SDRAM from SDRAM config register
[platform/kernel/u-boot.git]
/
arch
/
arm
/
cpu
/
armv7
/
omap5
/
hwinit.c
diff --git
a/arch/arm/cpu/armv7/omap5/hwinit.c
b/arch/arm/cpu/armv7/omap5/hwinit.c
index
d0c3ff7
..
4def422
100644
(file)
--- a/
arch/arm/cpu/armv7/omap5/hwinit.c
+++ b/
arch/arm/cpu/armv7/omap5/hwinit.c
@@
-191,7
+191,7
@@
void do_io_settings(void)
(sc_fast << 17) | (sc_fast << 14);
writel(io_settings, &(ioregs_base->control_smart3io_padconf_1));
- if (
omap_revision() <= OMAP5430_ES1_0
)
+ if (
emif_sdram_type() == EMIF_SDRAM_TYPE_LPDDR2
)
io_settings_lpddr2();
else
io_settings_ddr3();