]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
OMAP4/5: emif: Correct the emif power mgt shadow register bit fields.
authorSRICHARAN R <r.sricharan@ti.com>
Mon, 12 Mar 2012 02:25:46 +0000 (02:25 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:25 +0000 (08:31 +0200)
PD_TIM bit field which specifies the power down timing is defined
to occupy bits 8-11, where as it is actually from 12-15 bits.
So correcting this.

Signed-off-by: R Sricharan <r.sricharan@ti.com>
arch/arm/include/asm/emif.h

index aab15d8ef6c758a8f73c6d7805049d30ec8b5b22..f1e3ad212ebaf4352790b193edcb902e63a81d62 100644 (file)
 #define EMIF_REG_CS_TIM_MASK                   (0xf << 0)
 
 /* PWR_MGMT_CTRL_SHDW */
-#define EMIF_REG_PD_TIM_SHDW_SHIFT                     8
-#define EMIF_REG_PD_TIM_SHDW_MASK                      (0xf << 8)
+#define EMIF_REG_PD_TIM_SHDW_SHIFT                     12
+#define EMIF_REG_PD_TIM_SHDW_MASK                      (0xf << 12)
 #define EMIF_REG_SR_TIM_SHDW_SHIFT                     4
 #define EMIF_REG_SR_TIM_SHDW_MASK                      (0xf << 4)
 #define EMIF_REG_CS_TIM_SHDW_SHIFT                     0