diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2014-09-01 08:57:20 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-09-01 22:00:02 +0800 |
commit | ee295d7ff442699bb7982f2283f71eabcc16f367 (patch) | |
tree | 9f30fbee15ce9f1538e69939cfdebdb6390be896 /arch/arm/mach-imx/platsmp.c | |
parent | 1ca7070d1d08e71692295ed06c6cb6331ecac3c8 (diff) | |
download | op-kernel-dev-ee295d7ff442699bb7982f2283f71eabcc16f367.zip op-kernel-dev-ee295d7ff442699bb7982f2283f71eabcc16f367.tar.gz |
ARM: imx: remove imx_scu_standby_enable()
With commit c716483c3db1 ("ARM: 8122/1: smp_scu: enable SCU standby
support"), the STANDBY bit of SCU is handled by core function
scu_enable(). So imx_scu_standby_enable() can be removed now.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/platsmp.c')
-rw-r--r-- | arch/arm/mach-imx/platsmp.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-imx/platsmp.c b/arch/arm/mach-imx/platsmp.c index 5b57c17..771bd25 100644 --- a/arch/arm/mach-imx/platsmp.c +++ b/arch/arm/mach-imx/platsmp.c @@ -20,8 +20,6 @@ #include "common.h" #include "hardware.h" -#define SCU_STANDBY_ENABLE (1 << 5) - u32 g_diag_reg; static void __iomem *scu_base; @@ -45,14 +43,6 @@ void __init imx_scu_map_io(void) scu_base = IMX_IO_ADDRESS(base); } -void imx_scu_standby_enable(void) -{ - u32 val = readl_relaxed(scu_base); - - val |= SCU_STANDBY_ENABLE; - writel_relaxed(val, scu_base); -} - static int imx_boot_secondary(unsigned int cpu, struct task_struct *idle) { imx_set_cpu_jump(cpu, v7_secondary_startup); |