diff options
author | Bo Shen | 2015-03-27 14:23:35 +0800 |
---|---|---|
committer | Andreas Bießmann | 2015-04-01 01:04:31 +0200 |
commit | d85e8914b379eb3c4d66be241fee29da50166aa2 (patch) | |
tree | 6c7e317753152fe4e8c9dbaf8a0e3566124494de /arch/arm/mach-at91/mpddrc.c | |
parent | 41d41a93fb5600b0cbfdbfae88b0d8403bd650b7 (diff) |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/mpddrc.c b/arch/arm/mach-at91/mpddrc.c index beec13db8c1..24d5fcde02b 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 |