2 * r8a7790 Power management support
4 * Copyright (C) 2013 Renesas Electronics Corporation
5 * Copyright (C) 2011 Renesas Solutions Corp.
6 * Copyright (C) 2011 Magnus Damm
8 * This file is subject to the terms and conditions of the GNU General Public
9 * License. See the file "COPYING" in the main directory of this archive
13 #include <linux/kernel.h>
24 #if defined(CONFIG_SMP)
26 static void __init r8a7790_sysc_init(void)
28 void __iomem *base = rcar_sysc_init(0xe6180000);
30 /* enable all interrupt sources, but do not use interrupt handler */
31 iowrite32(0x0131000e, base + SYSCIER);
32 iowrite32(0, base + SYSCIMR);
35 #else /* CONFIG_SMP */
37 static inline void r8a7790_sysc_init(void) {}
39 #endif /* CONFIG_SMP */
41 void __init r8a7790_pm_init(void)