From: Heiko Schocher Date: Wed, 17 Aug 2016 07:13:23 +0000 (+0200) Subject: arm: at91: mpddrc: add missing MPDDRC_MD defines X-Git-Tag: v2016.11-rc3~32^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20e00c13681b69ad7f858a5e28baeb0c6e61c9e6;p=u-boot arm: at91: mpddrc: add missing MPDDRC_MD defines add missing MPDDRC_MD defines Signed-off-by: Heiko Schocher Acked-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- diff --git a/arch/arm/mach-at91/include/mach/atmel_mpddrc.h b/arch/arm/mach-at91/include/mach/atmel_mpddrc.h index d37d9082cd..f6bcecda38 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