aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2022-05-06 19:13:05 +0200
committerPetr Štetiar <ynezz@true.cz>2022-06-14 21:45:19 +0200
commit19f3ee51a29f17922ec59035e8b52c44ab395882 (patch)
treeb5f84d8919d1d47aae57ea02bd57e024e37acfa0 /target/linux/mpc85xx
parent3a02b8a29fff706794cba68e3c821b82fe76d719 (diff)
downloadupstream-19f3ee51a29f17922ec59035e8b52c44ab395882.tar.gz
upstream-19f3ee51a29f17922ec59035e8b52c44ab395882.tar.bz2
upstream-19f3ee51a29f17922ec59035e8b52c44ab395882.zip
mpc85xx: enable error reporting for RAM and PCIe
All Freescale processors used in this target are capable to detect error and correction. [1] It can not be used as kernel module. [2] This is helpful to report hardware errors. It enables three kernel options: - EDAC, which is a subsystem - EDAC_LEGACY_SYSFS, it enables sysfq nodes - MP85XX, support for Freescale MPC8349, MPC8560, MPC8540, MPC8548, T4240 EDAC is already enabled for following targets: qoriq, octeon, octeontx and zynq. [1] https://cateee.net/lkddb/web-lkddb/EDAC.html [2] https://patchwork.ozlabs.org/patch/554908/ Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com> (cherry picked from commit bfc73f42df3189a2eb34bebc8d9e73b3389a83a2)
Diffstat (limited to 'target/linux/mpc85xx')
-rw-r--r--target/linux/mpc85xx/config-5.104
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/config-5.10 b/target/linux/mpc85xx/config-5.10
index 022fc75dac..7ce8051dc5 100644
--- a/target/linux/mpc85xx/config-5.10
+++ b/target/linux/mpc85xx/config-5.10
@@ -58,7 +58,11 @@ CONFIG_E500=y
# CONFIG_E5500_CPU is not set
# CONFIG_E6500_CPU is not set
CONFIG_EARLY_PRINTK=y
+CONFIG_EDAC=y
CONFIG_EDAC_ATOMIC_SCRUB=y
+# CONFIG_EDAC_DEBUG is not set
+CONFIG_EDAC_LEGACY_SYSFS=y
+CONFIG_EDAC_MPC85XX=y
CONFIG_EDAC_SUPPORT=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_ETHERNET_PACKET_MANGLE=y