OMAP3: Fix CKE1 MUX setting to allow self-refresh
PATCH 1/1 OMAP3: Fix CKE1 MUX setting to allow self-refresh
The Beagle rev Cx and Overo boards are using both SDRC CSes. The MUX setting is needed for the second CS clock signal to allow the 2 RAM parts to be put in self-refresh correctly. This also works on rev B Beagle boards with 128M of RAM.
From: Steve Sakoman <[email protected]>
From: Jean Pihet <[email protected]>
---
board/omap3/beagle/beagle.h | 2 +- board/omap3/overo/overo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
board/omap3/overo/overo.h +1 -1
@@ -376,6 +376,6 @@ const omap3_sysinfo sysinfo = { MUX_VAL(CP(D2D_MBUSFLAG), (IEN | PTD | DIS | M0)) /*d2d_mbusflag*/\ MUX_VAL(CP(D2D_SBUSFLAG), (IEN | PTD | DIS | M0)) /*d2d_sbusflag*/\ MUX_VAL(CP(SDRC_CKE0), (IDIS | PTU | EN | M0)) /*sdrc_cke0*/\ - MUX_VAL(CP(SDRC_CKE1), (IDIS | PTD | DIS | M7)) /*sdrc_cke1*/ + MUX_VAL(CP(SDRC_CKE1), (IDIS | PTU | EN | M0)) /*sdrc_cke1*/#endif
board/omap3/beagle/beagle.h +1 -1
@@ -371,7 +371,7 @@ const omap3_sysinfo sysinfo = { MUX_VAL(CP(D2D_MBUSFLAG), (IEN | PTD | DIS | M0)) /*d2d_mbusflag*/\ MUX_VAL(CP(D2D_SBUSFLAG), (IEN | PTD | DIS | M0)) /*d2d_sbusflag*/\ MUX_VAL(CP(SDRC_CKE0), (IDIS | PTU | EN | M0)) /*sdrc_cke0*/\ - MUX_VAL(CP(SDRC_CKE1), (IDIS | PTD | DIS | M7)) /*sdrc_cke1*/ + MUX_VAL(CP(SDRC_CKE1), (IDIS | PTU | EN | M0)) /*sdrc_cke1*/#define MUX_BEAGLE_C () \ MUX_VAL(CP(MCBSP3_DX), (IEN | PTD | DIS | M4))/*GPIO_140*/ \
PATCH 1/1 OMAP3: Fix CKE1 MUX setting to allow self-refresh
Quoted 11 lines · Dirk Behme
The Beagle rev Cx and Overo boards are using both SDRC CSes. The MUX setting is needed for the second CS clock signal to allow the 2 RAM parts to be put in self-refresh correctly. This also works on rev B Beagle boards with 128M of RAM.
From: Steve Sakoman <[email protected]>
From: Jean Pihet <[email protected]>Signed-off-by Jean Pihet <[email protected]>Signed-off-by Steve Sakoman <[email protected]>Signed-off-by Dirk Behme <[email protected]>---
apply to next
Quoted 7 lines
board/omap3/beagle/beagle.h | 2 +- board/omap3/overo/overo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)Index:
u-boot-main/board/omap3/overo/overo.h
===================================================================
please use git
board/omap3/overo/overo.h const omap3_sysinfo sysinfo = { · line 379
Quoted 8 lines
board/omap3/overo/overo.h +1
-1@@ -376,6 +376,6 @@ const omap3_sysinfo sysinfo = { MUX_VAL(CP(D2D_MBUSFLAG), (IEN | PTD | DIS | M0)) /*d2d_mbusflag*/\ MUX_VAL(CP(D2D_SBUSFLAG), (IEN | PTD | DIS | M0)) /*d2d_sbusflag*/\ MUX_VAL(CP(SDRC_CKE0), (IDIS | PTU | EN | M0)) /*sdrc_cke0*/\ -MUX_VAL (CP (SDRC_CKE1 ), (IDIS |PTD |DIS |M7 ))/*sdrc_cke1*/ +MUX_VAL (CP (SDRC_CKE1 ), (IDIS |PTU |EN |M0 ))/*sdrc_cke1*/
it really time to use a better mux api + a device init framework to simplify this
(not requiered for this patch)
Best Regards,
J.