]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/arm/mach-kirkwood/common.c
[ARM] Kirkwood: disable propagation of mbus error to the CPU local bus
[mv-sheeva.git] / arch / arm / mach-kirkwood / common.c
index 7177c4aa63421e22e5f57afcadf00e60a98a79fe..242dd077534336269804795d30c4afb04fe1739b 100644 (file)
@@ -915,6 +915,14 @@ void __init kirkwood_init(void)
        kirkwood_uart0_data[0].uartclk = kirkwood_tclk;
        kirkwood_uart1_data[0].uartclk = kirkwood_tclk;
 
+       /*
+        * Disable propagation of mbus errors to the CPU local bus,
+        * as this causes mbus errors (which can occur for example
+        * for PCI aborts) to throw CPU aborts, which we're not set
+        * up to deal with.
+        */
+       writel(readl(CPU_CONFIG) & ~CPU_CONFIG_ERROR_PROP, CPU_CONFIG);
+
        kirkwood_setup_cpu_mbus();
 
 #ifdef CONFIG_CACHE_FEROCEON_L2