These defines are needed for the upcoming ECC driver. Signed-off-by: Peter Tyser <pty...@xes-inc.com> --- include/asm-ppc/immap_85xx.h | 4 ++++ include/asm-ppc/immap_86xx.h | 3 +++ 2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/include/asm-ppc/immap_85xx.h b/include/asm-ppc/immap_85xx.h index 4194295..b283986 100644 --- a/include/asm-ppc/immap_85xx.h +++ b/include/asm-ppc/immap_85xx.h @@ -167,6 +167,10 @@ typedef struct ccsr_ddr { u32 data_err_inject_hi; /* Data Path Err Injection Mask High */ u32 data_err_inject_lo; /* Data Path Err Injection Mask Low */ u32 ecc_err_inject; /* Data Path Err Injection Mask ECC */ +#define ECC_ERR_INJECT_APIEN 0x00010000 /* Address Parity Injection */ +#define ECC_ERR_INJECT_EMB 0x00000200 /* ECC Mirror Byte */ +#define ECC_ERR_INJECT_EIEN 0x00000100 /* Error Injection Enable */ +#define ECC_ERR_INJECT_EEIM 0x000000ff /* ECC Erroe Injection Enable */ u8 res9[20]; u32 capture_data_hi; /* Data Path Read Capture High */ u32 capture_data_lo; /* Data Path Read Capture Low */ diff --git a/include/asm-ppc/immap_86xx.h b/include/asm-ppc/immap_86xx.h index fdfc654..384912f 100644 --- a/include/asm-ppc/immap_86xx.h +++ b/include/asm-ppc/immap_86xx.h @@ -135,6 +135,9 @@ typedef struct ccsr_ddr { uint data_err_inject_hi; /* 0x2e00 - DDR Memory Data Path Error Injection Mask High */ uint data_err_inject_lo; /* 0x2e04 - DDR Memory Data Path Error Injection Mask Low */ uint ecc_err_inject; /* 0x2e08 - DDR Memory Data Path Error Injection Mask ECC */ +#define ECC_ERR_INJECT_EMB 0x00000200 /* ECC Mirror Byte */ +#define ECC_ERR_INJECT_EIEN 0x00000100 /* Error Injection Enable */ +#define ECC_ERR_INJECT_EEIM 0x000000ff /* ECC Erroe Injection Enable */ char res12[20]; uint capture_data_hi; /* 0x2e20 - DDR Memory Data Path Read Capture High */ uint capture_data_lo; /* 0x2e24 - DDR Memory Data Path Read Capture Low */ -- 1.6.2.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot