omap: overo: update support for Micron 1GB POP
authorSteve Sakoman <steve@sakoman.com>
Wed, 24 Jul 2013 19:22:34 +0000 (12:22 -0700)
committerTom Rini <trini@ti.com>
Thu, 15 Aug 2013 12:51:10 +0000 (08:51 -0400)
Signed-off-by: Ash Charles <ashcharles@gmail.com>
board/overo/overo.c
board/overo/overo.h

index a6e2e935a7c3059f45c7e2d6a41efc403d34727c..92d3de450eca9f060b57358e5d7bafe5ae24c88c 100644 (file)
@@ -153,6 +153,12 @@ void get_board_mem_timings(struct board_sdrc_timings *timings)
                timings->ctrlb = HYNIX_V_ACTIMB_165;
                timings->rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_165MHz;
                break;
+       case REVISION_3: /* Micron 512MB/1024MB, 1/2 banks of 512MB */
+               timings->mcfg = MCFG(512 << 20, 15);
+               timings->ctrla = MICRON_V_ACTIMA_200;
+               timings->ctrlb = MICRON_V_ACTIMB_200;
+               timings->rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_200MHz;
+               break;
        default:
                timings->mcfg = MICRON_V_MCFG_165(128 << 20);
                timings->ctrla = MICRON_V_ACTIMA_165;
index 88e197dee2d9e8e7b4887473430a300e917e681c..64604de1b01b2bf7ca85e7a095658d3214126711 100644 (file)
@@ -21,6 +21,7 @@ const omap3_sysinfo sysinfo = {
 #define REVISION_0     0x0
 #define REVISION_1     0x1
 #define REVISION_2     0x2
+#define REVISION_3     0x3
 
 /*
  * IEN  - Input Enable