2 * arch/arm/mach-prima2/include/mach/system.h
4 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
6 * Licensed under GPLv2 or later.
9 #ifndef __MACH_SYSTEM_H__
10 #define __MACH_SYSTEM_H__
12 #include <linux/bitops.h>
13 #include <mach/hardware.h>
15 #define SIRFSOC_SYS_RST_BIT BIT(31)
17 extern void __iomem
*sirfsoc_rstc_base
;
19 static inline void arch_idle(void)
24 static inline void arch_reset(char mode
, const char *cmd
)
26 writel(SIRFSOC_SYS_RST_BIT
, sirfsoc_rstc_base
);