diff options
author | York Sun <york.sun@nxp.com> | 2016-08-10 00:55:42 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-09-01 11:28:01 +0300 |
commit | 4e2c3252d2426cd05286e38650365f215571d3c6 (patch) | |
tree | 964296a048b48ed1ad2c5f594ea5408114828068 /drivers/edac/fsl_ddr_edac.h | |
parent | d43a9fb202bc86a6f5a2bb44b06cf9fd5581080b (diff) | |
download | linux-4e2c3252d2426cd05286e38650365f215571d3c6.tar.xz |
EDAC, fsl_ddr: Add missing DDR DRAM types
The compatible DDR controllers may support DDR, DDR2, DDR3, DDR4 DRAM.
An individual controller doesn't support all of them. The EDAC driver
reads SDRAM_CFG to determine which mode is configured.
Add DDR4 and drop the defines used only in the mtype assignment.
Signed-off-by: York Sun <york.sun@nxp.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: morbidrsa@gmail.com
Cc: oss@buserror.net
Cc: stuart.yoder@nxp.com
Link: http://lkml.kernel.org/r/1470779760-16483-6-git-send-email-york.sun@nxp.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/fsl_ddr_edac.h')
-rw-r--r-- | drivers/edac/fsl_ddr_edac.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/edac/fsl_ddr_edac.h b/drivers/edac/fsl_ddr_edac.h index 1eccc62b5d93..4ccee292eff1 100644 --- a/drivers/edac/fsl_ddr_edac.h +++ b/drivers/edac/fsl_ddr_edac.h @@ -50,10 +50,6 @@ #define DSC_DBW_64 0x00000000 #define DSC_SDTYPE_MASK 0x07000000 - -#define DSC_SDTYPE_DDR 0x02000000 -#define DSC_SDTYPE_DDR2 0x03000000 -#define DSC_SDTYPE_DDR3 0x07000000 #define DSC_X32_EN 0x00000020 /* Err_Int_En */ |