]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: mvebu: x530: use MV_DDR_FREQ_SAR
authorChris Packham <judge.packham@gmail.com>
Mon, 11 Feb 2019 01:19:56 +0000 (14:19 +1300)
committerStefan Roese <sr@denx.de>
Mon, 11 Feb 2019 08:39:12 +0000 (09:39 +0100)
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.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
board/alliedtelesis/x530/x530.c

index b34ae51345470fa04a110cb4941931dce502ac21..d7d1942fe686aa59138894cff4a881c4a879e8eb 100644 (file)
@@ -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 */