Skip to contentSkip to conversation

ARM: mvebu: x530: use MV_DDR_FREQ_SAR

PATCH New Chris Packham 2 participants 3 messages Feb 11, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: mvebu: x530: use MV_DDR_FREQ_SAR

MV_DDR_FREQ_SAR lets the DDR frequency be determined by hardware strapping. This also has the side effect of running the DDR clock in synchronous mode with the CPU core clock rather than from an independent PLL. We've seen this improve reliability in operation across a number of boards and temperature ranges.

---

 board/alliedtelesis/x530/x530.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/alliedtelesis/x530/x530.c +1 -1
index b34ae5134547..d7d1942fe686 100644
@@ -57,7 +57,7 @@ static struct mv_ddr_topology_map board_topology_map = {
 	    SPEED_BIN_DDR_1866M,	/* speed_bin */
 	    MV_DDR_DEV_WIDTH_16BIT,	/* sdram device width */
 	    MV_DDR_DIE_CAP_4GBIT,	/* die capacity */
-	    MV_DDR_FREQ_933,		/* frequency */
+	    MV_DDR_FREQ_SAR,		/* frequency */
 	    0, 0,			/* cas_l cas_wl */
 	    MV_DDR_TEMP_LOW,		/* temperature */
 	    MV_DDR_TIM_2T} },		/* timing */
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 ARM: mvebu: x530: use MV_DDR_FREQ_SAR

Quoted 18 lines · Chris Packham

MV_DDR_FREQ_SAR lets the DDR frequency be determined by hardware strapping. This also has the side effect of running the DDR clock in synchronous mode with the CPU core clock rather than from an independent PLL. We've seen this improve reliability in operation across a number of boards and temperature ranges.

---

  board/alliedtelesis/x530/x530.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
board/alliedtelesis/x530/x530.c +0 -0
index b34ae5134547..d7d1942fe686 100644

board/alliedtelesis/x530/x530.c static struct mv_ddr_topology_map board_topology_map = { · line 63

Quoted 8 lines
board/alliedtelesis/x530/x530.c +1 -1
@@ -57,7 +57,7 @@ static struct mv_ddr_topology_map board_topology_map = {
  	    SPEED_BIN_DDR_1866M,	/* speed_bin */
  	    MV_DDR_DEV_WIDTH_16BIT,	/* sdram device width */
  	    MV_DDR_DIE_CAP_4GBIT,	/* die capacity */
-	    MV_DDR_FREQ_933,		/* frequency */
+	    MV_DDR_FREQ_SAR,		/* frequency */
  	    0, 0,			/* cas_l cas_wl */
  	    MV_DDR_TEMP_LOW,		/* temperature */
  	    MV_DDR_TIM_2T} },		/* timing */

Thanks,
Stefan

#2 lore raw

PATCH 1/1 ARM: mvebu: x530: use MV_DDR_FREQ_SAR

In reply to Chris Packham
Quoted 7 lines · Chris Packham

MV_DDR_FREQ_SAR lets the DDR frequency be determined by hardware strapping. This also has the side effect of running the DDR clock in synchronous mode with the CPU core clock rather than from an independent PLL. We've seen this improve reliability in operation across a number of boards and temperature ranges.

Applied to u-boot-marvell/master

Thanks,
Stefan