ARM: rockchip: add snoop-control-unit

A patch from »ARM: rockchip: add smp functionality« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Mon, 17 Jun 2013 21:28:57 +0200

Commit-Message

This adds the device-node and config select to enable the scu in all Rockchip Cortex-A9 SoCs. Signed-off-by: Heiko Stuebner <heiko@...> Tested-by: Ulrich Prinz <ulrich.prinz@...>

Patch-Comment

arch/arm/boot/dts/rk3xxx.dtsi | 5 +++++ arch/arm/mach-rockchip/Kconfig | 1 + 2 files changed, 6 insertions(+)

Statistics

  • 6 lines added
  • 0 lines removed

Changes

------------------------ arch/arm/boot/dts/rk3xxx.dtsi -------------------------
index 0fcbcfd..0a3d5b1 100644
@@ -26,6 +26,11 @@
compatible = "simple-bus";
ranges;
+ scu@1013c000 {
+ compatible = "arm,cortex-a9-scu";
+ reg = <0x1013c000 0x100>;
+ };
+
gic: interrupt-controller@1013d000 {
compatible = "arm,cortex-a9-gic";
interrupt-controller;
------------------------ arch/arm/mach-rockchip/Kconfig ------------------------
index 6fef464..8700395 100644
@@ -5,6 +5,7 @@ config ARCH_ROCKCHIP
select ARCH_REQUIRE_GPIOLIB
select ARM_GIC
select CACHE_L2X0
+ select HAVE_ARM_SCU
select HAVE_ARM_TWD if LOCAL_TIMERS
select HAVE_SMP
select LOCAL_TIMERS if SMP
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...