ARM: atmel: sama5d4: can access DDR in interleave mode
authorBo Shen <voice.shen@atmel.com>
Mon, 15 Dec 2014 05:24:36 +0000 (13:24 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Sat, 7 Feb 2015 22:42:51 +0000 (23:42 +0100)
The SAMAA5D4 SoC can access DDR in interleave mode.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
arch/arm/cpu/at91-common/mpddrc.c

index 44798e612c3b2e04cb456aa1c85b09429baa8ec9..beec13db8c1396d792a74cc7d685e848493c9695 100644 (file)
@@ -19,7 +19,7 @@ static inline void atmel_mpddr_op(int mode, u32 ram_address)
 
 static int ddr2_decodtype_is_seq(u32 cr)
 {
-#if defined(CONFIG_SAMA5D3)
+#if defined(CONFIG_SAMA5D3) || defined(CONFIG_SAMA5D4)
        if (cr & ATMEL_MPDDRC_CR_DECOD_INTERLEAVED)
                return 0;
 #endif