diff options
author | Heiko Schocher <hs@denx.de> | 2016-08-17 09:13:23 +0200 |
---|---|---|
committer | Andreas Bießmann <andreas@biessmann.org> | 2016-10-28 18:37:13 +0200 |
commit | 20e00c13681b69ad7f858a5e28baeb0c6e61c9e6 (patch) | |
tree | c1c2ae3ae0f44cd03f9df6ad661ab5d6200a1d6c /arch | |
parent | 5ac5861c4ba851b473e6a24940b412b397627d8d (diff) | |
download | u-boot-20e00c13681b69ad7f858a5e28baeb0c6e61c9e6.zip u-boot-20e00c13681b69ad7f858a5e28baeb0c6e61c9e6.tar.gz u-boot-20e00c13681b69ad7f858a5e28baeb0c6e61c9e6.tar.bz2 |
arm: at91: mpddrc: add missing MPDDRC_MD defines
add missing MPDDRC_MD defines
Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/atmel_mpddrc.h b/arch/arm/mach-at91/include/mach/atmel_mpddrc.h index d37d908..f6bcecd 100644 --- a/arch/arm/mach-at91/include/mach/atmel_mpddrc.h +++ b/arch/arm/mach-at91/include/mach/atmel_mpddrc.h @@ -147,6 +147,9 @@ int ddr3_init(const unsigned int base, #define ATMEL_MPDDRC_TPR2_TFAW_MASK 0xf /* Bit field in Memory Device Register */ +#define ATMEL_MPDDRC_MD_SDR_SDRAM 0x0 +#define ATMEL_MPDDRC_MD_LP_SDR_SDRAM 0x1 +#define ATMEL_MPDDRC_MD_DDR_SDRAM 0x2 #define ATMEL_MPDDRC_MD_LPDDR_SDRAM 0x3 #define ATMEL_MPDDRC_MD_DDR3_SDRAM 0x4 #define ATMEL_MPDDRC_MD_LPDDR3_SDRAM 0x5 |