aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/Kconfig
diff options
context:
space:
mode:
authorIra W. Snyder <iws@ovro.caltech.edu>2009-09-23 18:57:25 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-24 10:21:04 -0400
commitb4846251727a38a7f248e41308c060995371dd05 (patch)
tree6fc1356be42c88ce3dfc373a8eb9fd97ed1377f7 /drivers/edac/Kconfig
parenta014554e667d702a3a7ae1cf500ebd358e7991be (diff)
edac: mpc85xx add mpc83xx support
Add support for the Freescale MPC83xx memory controller to the existing driver for the Freescale MPC85xx memory controller. The only difference between the two processors are in the CS_BNDS register parsing code, which has been changed so it will work on both processors. The L2 cache controller does not exist on the MPC83xx, but the OF subsystem will not use the driver if the device is not present in the OF device tree. I had to change the nr_pages calculation to make the math work out. I checked it on my board and did the math by hand for a 64GB 85xx using 64K pages. In both cases, nr_pages * PAGE_SIZE comes out to the correct value. Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu> Signed-off-by: Doug Thompson <dougthompson@xmission.com> Cc: Kumar Gala <galak@gate.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/edac/Kconfig')
-rw-r--r--drivers/edac/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index a3ca18e2d7cf..b82ad57c1082 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -176,11 +176,11 @@ config EDAC_I5100
176 San Clemente MCH. 176 San Clemente MCH.
177 177
178config EDAC_MPC85XX 178config EDAC_MPC85XX
179 tristate "Freescale MPC85xx" 179 tristate "Freescale MPC83xx / MPC85xx"
180 depends on EDAC_MM_EDAC && FSL_SOC && MPC85xx 180 depends on EDAC_MM_EDAC && FSL_SOC && (PPC_83xx || MPC85xx)
181 help 181 help
182 Support for error detection and correction on the Freescale 182 Support for error detection and correction on the Freescale
183 MPC8560, MPC8540, MPC8548 183 MPC8349, MPC8560, MPC8540, MPC8548
184 184
185config EDAC_MV64X60 185config EDAC_MV64X60
186 tristate "Marvell MV64x60" 186 tristate "Marvell MV64x60"