[U-Boot] [PATCH 1/6] arm: at91: mpddrc: add missing MPDDRC_MD defines

Wenyou.Yang at microchip.com Wenyou.Yang at microchip.com
Sun Sep 18 04:07:27 CEST 2016



> -----Original Message-----
> From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Heiko
> Schocher
> Sent: 2016年8月17日 15:13
> To: U-Boot Mailing List <u-boot at lists.denx.de>
> Cc: Bo Shen <voice.shen at atmel.com>
> Subject: [U-Boot] [PATCH 1/6] arm: at91: mpddrc: add missing MPDDRC_MD
> defines
> 
> add missing MPDDRC_MD defines
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>

Acked-by: Wenyou Yang <wenyou.yang at atmel.com>

> ---
> 
>  arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> 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
> --
> 2.5.5
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list