]> git.sur5r.net Git - u-boot/commitdiff
ARM: at91: ma5d4: Switch DDR2 controller to sequencial address decoding
authorMarek Vasut <marex@denx.de>
Tue, 2 May 2017 18:27:41 +0000 (20:27 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 29 Jun 2017 17:30:28 +0000 (13:30 -0400)
According to the datasheet, sequential mapping is used for DDR
SDRAM, while interleaved mapping is used for regular SDRAM.
Incorrect configuration of this bit does indeed cause sporadic
memory instability.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andreas Bießmann <andreas.devel@googlemail.com>
Cc: Wenyou Yang <wenyou.yang@atmel.com>
board/aries/ma5d4evk/ma5d4evk.c

index 81463712fa828641fb4048f740836401280ece96..dd74e29b8ea4dea0f69a71cea3ca64e582e56125 100644 (file)
@@ -349,7 +349,6 @@ static void ddr2_conf(struct atmel_mpddrc_config *ddr2)
                    ATMEL_MPDDRC_CR_CAS_DDR_CAS3 |
                    ATMEL_MPDDRC_CR_NB_8BANKS |
                    ATMEL_MPDDRC_CR_NDQS_DISABLED |
-                   ATMEL_MPDDRC_CR_DECOD_INTERLEAVED |
                    ATMEL_MPDDRC_CR_UNAL_SUPPORTED);
 
        ddr2->rtr = 0x2b0;