diff options
author | Shengzhou Liu <Shengzhou.Liu@nxp.com> | 2016-08-26 18:30:39 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-09-14 14:08:22 -0700 |
commit | b9e745bbe2562fda710d668dc9cef46e0b23049f (patch) | |
tree | 202c8a38ec99f44e4182be83aed654ac1d27ccc2 /arch/arm | |
parent | 93a6d3284ca635496c6de097e49cadc8f62e6256 (diff) | |
download | u-boot-imx-b9e745bbe2562fda710d668dc9cef46e0b23049f.zip u-boot-imx-b9e745bbe2562fda710d668dc9cef46e0b23049f.tar.gz u-boot-imx-b9e745bbe2562fda710d668dc9cef46e0b23049f.tar.bz2 |
driver/ddr/fsl: Add general MMDC driver and reuse common MMDC driver for ls1012a
This general MMDC driver adds basic support for Freescale MMDC
(Multi Mode DDR Controller). Currently MMDC is integrated on ARMv8
LS1012A SoC for DDR3L, there will be a update to this driver to
support more flexible configuration if new features (DDR4, multiple
controllers/chip selections, etc) are implimented in future.
Meantime, reuse common MMDC driver for LS1012ARDB/LS1012AQDS/
LS1012AFRDM.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/arch-fsl-layerscape/config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/config.h b/arch/arm/include/asm/arch-fsl-layerscape/config.h index 9ccdcfa..3eb7e3c 100644 --- a/arch/arm/include/asm/arch-fsl-layerscape/config.h +++ b/arch/arm/include/asm/arch-fsl-layerscape/config.h @@ -15,7 +15,9 @@ #define CONFIG_SYS_FSL_DDRC_ARM_GEN3 /* Enable Freescale ARM DDR3 driver */ #endif -#ifndef CONFIG_LS1012A +#ifdef CONFIG_LS1012A +#define CONFIG_SYS_FSL_MMDC /* Freescale MMDC driver */ +#else #define CONFIG_SYS_FSL_DDR /* Freescale DDR driver */ #define CONFIG_SYS_FSL_DDR_VER FSL_DDR_VER_5_0 #endif |