mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
rk30: pm: enable scu standby mode
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
|
||||
#include <mach/pmu.h>
|
||||
|
||||
#define SCU_CTRL 0x00
|
||||
#define SCU_STANDBY_EN (1 << 5)
|
||||
|
||||
#ifdef CONFIG_FIQ
|
||||
static void gic_raise_softirq_non_secure(const struct cpumask *mask, unsigned int irq)
|
||||
{
|
||||
@@ -126,5 +129,7 @@ void __init platform_smp_prepare_cpus(unsigned int max_cpus)
|
||||
set_cpu_present(i, true);
|
||||
#endif
|
||||
|
||||
writel_relaxed(readl_relaxed(RK30_SCU_BASE + SCU_CTRL) | SCU_STANDBY_EN, RK30_SCU_BASE + SCU_CTRL);
|
||||
|
||||
scu_enable(RK30_SCU_BASE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user