diff options
author | York Sun <yorksun@freescale.com> | 2011-03-17 11:18:10 -0700 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-03-24 09:20:49 -0500 |
commit | 08b3f7599f7bdf7e96cf46ecb9eecffc92b323d2 (patch) | |
tree | 7d46a0a787276e95cebd59a94668d6d1faf5603d /arch/powerpc/include | |
parent | 55f7934d2b07a62027cb05484ea3f10666a855d1 (diff) | |
download | u-boot-imx-08b3f7599f7bdf7e96cf46ecb9eecffc92b323d2.zip u-boot-imx-08b3f7599f7bdf7e96cf46ecb9eecffc92b323d2.tar.gz u-boot-imx-08b3f7599f7bdf7e96cf46ecb9eecffc92b323d2.tar.bz2 |
powerpc/mpc8xxx: fix recognition of DIMMs with ECC and Address Parity
To recognize DIMMs with ECC capability by testing ECC bit only. Not to be
confused by Address Parity bit.
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/fsl_ddr_dimm_params.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_ddr_dimm_params.h b/arch/powerpc/include/asm/fsl_ddr_dimm_params.h index be82602..982b809 100644 --- a/arch/powerpc/include/asm/fsl_ddr_dimm_params.h +++ b/arch/powerpc/include/asm/fsl_ddr_dimm_params.h @@ -9,6 +9,10 @@ #ifndef DDR2_DIMM_PARAMS_H #define DDR2_DIMM_PARAMS_H +#define EDC_DATA_PARITY 1 +#define EDC_ECC 2 +#define EDC_AC_PARITY 4 + /* Parameters for a DDR2 dimm computed from the SPD */ typedef struct dimm_params_s { |