2 * Copyright (C) 2012 Spreadtrum Communications Inc.
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #ifndef __ASM_ARCH_SYSTEM_H
15 #define __ASM_ARCH_SYSTEM_H __FILE__
17 #include <soc/sprd/hardware.h>
18 #include <soc/sprd/sys_reset.h>
20 static inline void arch_idle(void)
24 static inline void arch_reset(char mode, const char *cmd)
26 sprd_set_reboot_mode(cmd);
27 sprd_turnon_watchdog(50);