diff options
author | Heiko Stuebner <heiko@sntech.de> | 2013-06-17 22:29:23 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2014-03-01 17:21:57 +0100 |
commit | a7a2b3118b410fb3cd3a8363b157c56f4211ee05 (patch) | |
tree | 28f762f27421a638fdbf1aa4a2c7c1dfadddd700 /arch/arm/mach-rockchip/rockchip.c | |
parent | ARM: rockchip: add power-management-unit (diff) | |
download | linux-a7a2b3118b410fb3cd3a8363b157c56f4211ee05.tar.xz linux-a7a2b3118b410fb3cd3a8363b157c56f4211ee05.zip |
ARM: rockchip: add smp bringup code
This adds the necessary smp-operations and startup code to use
additional cores on Rockchip SoCs.
We currently hog the power management unit in the smp code, as it is
necessary to control the power to the cpu core and nothing else is
currently using it, so a generic implementation can be done later.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Ulrich Prinz <ulrich.prinz@googlemail.com>
Diffstat (limited to 'arch/arm/mach-rockchip/rockchip.c')
-rw-r--r-- | arch/arm/mach-rockchip/rockchip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/rockchip.c b/arch/arm/mach-rockchip/rockchip.c index 82c0b0709712..d211d6fa0d98 100644 --- a/arch/arm/mach-rockchip/rockchip.c +++ b/arch/arm/mach-rockchip/rockchip.c @@ -22,6 +22,7 @@ #include <asm/mach/arch.h> #include <asm/mach/map.h> #include <asm/hardware/cache-l2x0.h> +#include "core.h" static void __init rockchip_dt_init(void) { @@ -38,6 +39,7 @@ static const char * const rockchip_board_dt_compat[] = { }; DT_MACHINE_START(ROCKCHIP_DT, "Rockchip Cortex-A9 (Device Tree)") + .smp = smp_ops(rockchip_smp_ops), .init_machine = rockchip_dt_init, .dt_compat = rockchip_board_dt_compat, MACHINE_END |