diff options
| author | Mark A. Greer <mgreer@mvista.com> | 2005-02-01 16:37:57 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-02-01 16:37:57 -0800 |
| commit | 93d2490bebcb6981f196cd84568c7e28b1a21ac0 (patch) | |
| tree | c267283af7355db5e424e3731eb212950360f997 /include | |
| parent | 72959fec7af9cfb15984f659a9a1c111af20f224 (diff) | |
[PATCH] ppc32: MPC8245 erratum 28 workaround
The 8241/8245 have an erratum where PCI reads from local memory may return
stale data. One of the two workarounds is to set PICR2[0]. This patch
does that.
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-ppc/mpc10x.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ppc/mpc10x.h b/include/asm-ppc/mpc10x.h index 5e8fe4ce1409..624debe1cc54 100644 --- a/include/asm-ppc/mpc10x.h +++ b/include/asm-ppc/mpc10x.h @@ -108,6 +108,9 @@ #define MPC10X_CFG_PICR1_SPEC_PCI_RD 0x00000004 #define MPC10X_CFG_PICR1_ST_GATH_EN 0x00000040 +#define MPC10X_CFG_PICR2_REG 0xac +#define MPC10X_CFG_PICR2_COPYBACK_OPT 0x00000001 + #define MPC10X_CFG_MAPB_OPTIONS_REG 0xe0 #define MPC10X_CFG_MAPB_OPTIONS_CFAE 0x80 /* CPU_FD_ALIAS_EN */ #define MPC10X_CFG_MAPB_OPTIONS_PFAE 0x40 /* PCI_FD_ALIAS_EN */ |
