summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2009-11-09 09:29:34 -0500
committerTom Rix <Tom.Rix@windriver.com>2009-11-27 16:26:17 -0600
commitd414aae552bc229dafcad92028effb4a8306c7a5 (patch)
tree61893df2fd2a1685b47fb28fd7411b8afd288049 /include
parent30563a04bff73fd4fbd840b846f4b6459759a839 (diff)
downloadu-boot-imx-d414aae552bc229dafcad92028effb4a8306c7a5.zip
u-boot-imx-d414aae552bc229dafcad92028effb4a8306c7a5.tar.gz
u-boot-imx-d414aae552bc229dafcad92028effb4a8306c7a5.tar.bz2
OMAP3: Fix SDRC init
Defaults are for Infineon DDR timings. Since none of the supported boards currently do XIP boot, these seem to be faulty. fix the values as per the calculations(ACTIMA,B), conf the sdrc power with pwdnen and wakeupproc bits Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-omap3/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap3/cpu.h b/include/asm-arm/arch-omap3/cpu.h
index 8ab2e39..e51c4f3 100644
--- a/include/asm-arm/arch-omap3/cpu.h
+++ b/include/asm-arm/arch-omap3/cpu.h
@@ -222,6 +222,7 @@ struct sdrc {
#define PAGEPOLICY_HIGH (0x1 << 0)
#define SRFRONRESET (0x1 << 7)
+#define PWDNEN (0x1 << 2)
#define WAKEUPPROC (0x1 << 26)
#define DDR_SDRAM (0x1 << 0)