]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/asm-arm/arch-orion5x/system.h
Merge branch 'header-move' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemo...
[mirror_ubuntu-artful-kernel.git] / include / asm-arm / arch-orion5x / system.h
CommitLineData
585cf175 1/*
9dd0b194 2 * include/asm-arm/arch-orion5x/system.h
585cf175
TP
3 *
4 * Tzachi Perelstein <tzachi@marvell.com>
5 *
159ffb3a
LB
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
585cf175
TP
8 * warranty of any kind, whether express or implied.
9 */
10
11#ifndef __ASM_ARCH_SYSTEM_H
12#define __ASM_ARCH_SYSTEM_H
13
14#include <asm/arch/hardware.h>
9dd0b194 15#include <asm/arch/orion5x.h>
585cf175
TP
16
17static inline void arch_idle(void)
18{
19 cpu_do_idle();
20}
21
22static inline void arch_reset(char mode)
23{
24 /*
25 * Enable and issue soft reset
26 */
9dd0b194
LB
27 orion5x_setbits(CPU_RESET_MASK, (1 << 2));
28 orion5x_setbits(CPU_SOFT_RESET, 1);
585cf175
TP
29}
30
159ffb3a 31
585cf175 32#endif