summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2006-03-16 14:35:32 +0100
committerMarian Balakowicz <m8@semihalf.com>2006-03-16 14:35:32 +0100
commit97f98001a325558020128381e1bebf893c811617 (patch)
treef6e6cd1f1d7dad9b1655774c29180b5025d58b95 /include
parent991425fe0509b97f94e1177346a41e784e3f05d0 (diff)
downloadu-boot-imx-97f98001a325558020128381e1bebf893c811617.zip
u-boot-imx-97f98001a325558020128381e1bebf893c811617.tar.gz
u-boot-imx-97f98001a325558020128381e1bebf893c811617.tar.bz2
Fix DDR ECC bit definitions for MPC83xx.
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc/immap_83xx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-ppc/immap_83xx.h b/include/asm-ppc/immap_83xx.h
index b0e17ab..c2b4c5c 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 */