summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/mpddrc.c
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2015-03-27 14:23:35 +0800
committerAndreas Bießmann <andreas.devel@googlemail.com>2015-04-01 01:04:31 +0200
commitd85e8914b379eb3c4d66be241fee29da50166aa2 (patch)
tree6c7e317753152fe4e8c9dbaf8a0e3566124494de /arch/arm/mach-at91/mpddrc.c
parent41d41a93fb5600b0cbfdbfae88b0d8403bd650b7 (diff)
downloadu-boot-imx-d85e8914b379eb3c4d66be241fee29da50166aa2.zip
u-boot-imx-d85e8914b379eb3c4d66be241fee29da50166aa2.tar.gz
u-boot-imx-d85e8914b379eb3c4d66be241fee29da50166aa2.tar.bz2
ARM: atmel: at91sam9x5ek: enable spl support
Enable SPL support for at91sam9x5ek board. Now, it supports boot up from NAND flash and SPI flash. Signed-off-by: Bo Shen <voice.shen@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/mpddrc.c')
-rw-r--r--arch/arm/mach-at91/mpddrc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/mpddrc.c b/arch/arm/mach-at91/mpddrc.c
index beec13d..24d5fcd 100644
--- a/arch/arm/mach-at91/mpddrc.c
+++ b/arch/arm/mach-at91/mpddrc.c
@@ -19,7 +19,8 @@ static inline void atmel_mpddr_op(int mode, u32 ram_address)
static int ddr2_decodtype_is_seq(u32 cr)
{
-#if defined(CONFIG_SAMA5D3) || defined(CONFIG_SAMA5D4)
+#if defined(CONFIG_SAMA5D3) || defined(CONFIG_SAMA5D4) || \
+ defined(CONFIG_AT91SAM9X5)
if (cr & ATMEL_MPDDRC_CR_DECOD_INTERLEAVED)
return 0;
#endif