提交 b54dd1b3 编写于 作者: B Bo Shen 提交者: Andreas Bießmann

ARM: atmel: sama5d4: can access DDR in interleave mode

The SAMAA5D4 SoC can access DDR in interleave mode.
Signed-off-by: NBo Shen <voice.shen@atmel.com>
上级 569bbd3c
...@@ -19,7 +19,7 @@ static inline void atmel_mpddr_op(int mode, u32 ram_address) ...@@ -19,7 +19,7 @@ static inline void atmel_mpddr_op(int mode, u32 ram_address)
static int ddr2_decodtype_is_seq(u32 cr) 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) if (cr & ATMEL_MPDDRC_CR_DECOD_INTERLEAVED)
return 0; return 0;
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册