]> Pileus Git - ~andy/linux/commitdiff
ARM: dove: Fix tauros2 device tree init
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tue, 25 Sep 2012 00:02:14 +0000 (02:02 +0200)
committerJason Cooper <jason@lakedaemon.net>
Wed, 17 Oct 2012 17:19:50 +0000 (17:19 +0000)
During the review process of dove DT patches, Tauros2 cache
init call was changed and DT support added. This patch fixes
the call to Tauros2 init and adds a DT node. Moreover, plat/irq.h
include was missing from mach-dove/common.c.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/dove.dtsi
arch/arm/mach-dove/common.c

index 96fb824b5e6ecb3dd26481dcdbd3d67bb691772d..3f41f503b7509c3af775760025e2dc88f360c82f 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
 
+               l2: l2-cache {
+                       compatible = "marvell,tauros2-cache";
+                       marvell,tauros2-cache-features = <0>;
+               };
+
                uart0: serial@12000 {
                        compatible = "ns16550a";
                        reg = <0x12000 0x100>;
index b37bef1d5ffad9828f6734eb9a50262327ea950d..343a4bcc6d9221ffdd8e2615b1c5c76573d33335 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/irq.h>
 #include <plat/time.h>
 #include <linux/platform_data/usb-ehci-orion.h>
+#include <plat/irq.h>
 #include <plat/common.h>
 #include <plat/addr-map.h>
 #include "common.h"
@@ -399,7 +400,7 @@ static void __init dove_dt_init(void)
                (dove_tclk + 499999) / 1000000);
 
 #ifdef CONFIG_CACHE_TAUROS2
-       tauros2_init();
+       tauros2_init(0);
 #endif
        dove_setup_cpu_mbus();