From: Marian Balakowicz Date: Thu, 16 Mar 2006 13:35:32 +0000 (+0100) Subject: Fix DDR ECC bit definitions for MPC83xx. X-Git-Tag: LABEL_2006_04_18_1106~7^2~2^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97f98001a325558020128381e1bebf893c811617;p=u-boot Fix DDR ECC bit definitions for MPC83xx. --- diff --git a/CHANGELOG b/CHANGELOG index f8134ec274..e8f4f66f18 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,8 @@ Changes since U-Boot 1.1.4: ====================================================================== +* Fix DDR ECC bit definitions for MPC83xx. + * Add initial support for MPC8349E MDS board. * Add support for ECC DDR initialization on MPC83xx. diff --git a/include/asm-ppc/immap_83xx.h b/include/asm-ppc/immap_83xx.h index b0e17ab9be..c2b4c5c6ab 100644 --- a/include/asm-ppc/immap_83xx.h +++ b/include/asm-ppc/immap_83xx.h @@ -686,13 +686,13 @@ typedef struct ddr8349{ u32 ecc_err_inject; /**< Memory Data Path Error Injection Mask ECC */ #define ECC_ERR_INJECT_EMB (0x80000000>>22) /* ECC Mirror Byte */ #define ECC_ERR_INJECT_EIEN (0x80000000>>23) /* Error Injection Enable */ -#define ECC_ERR_INJECT_EEIM (0xF0000000>>24) /* ECC Erroe Injection Enable */ +#define ECC_ERR_INJECT_EEIM (0xff000000>>24) /* ECC Erroe Injection Enable */ #define ECC_ERR_INJECT_EEIM_SHIFT 0 u8 res5[0x14]; u32 capture_data_hi; /**< Memory Data Path Read Capture High */ u32 capture_data_lo; /**< Memory Data Path Read Capture Low */ u32 capture_ecc; /**< Memory Data Path Read Capture ECC */ -#define CAPTURE_ECC_ECE (0xF0000000>>24) +#define CAPTURE_ECC_ECE (0xff000000>>24) #define CAPTURE_ECC_ECE_SHIFT 0 u8 res6[0x14]; u32 err_detect; /**< Memory Error Detect */