blob: 2e58cb7a71479d79181416714990cc6fb3a4509a [file] [log] [blame]
Ben Dooksd521f872008-10-21 14:06:40 +01001/* linux/arch/arm/mach-s3c6400/include/mach/system.h
2 *
3 * Copyright 2008 Openmoko, Inc.
4 * Copyright 2008 Simtec Electronics
5 * Ben Dooks <ben@simtec.co.uk>
6 * http://armlinux.simtec.co.uk/
7 *
8 * S3C6400 - system implementation
9 */
10
11#ifndef __ASM_ARCH_SYSTEM_H
12#define __ASM_ARCH_SYSTEM_H __FILE__
13
Ben Dooks543899f2009-05-17 23:40:30 +010014#include <plat/watchdog-reset.h>
15
Ben Dooksd521f872008-10-21 14:06:40 +010016static void arch_idle(void)
17{
18 /* nothing here yet */
19}
20
Russell Kingbe093be2009-03-19 16:20:24 +000021static void arch_reset(char mode, const char *cmd)
Ben Dooksd521f872008-10-21 14:06:40 +010022{
Ben Dooks543899f2009-05-17 23:40:30 +010023 if (mode != 's')
24 arch_wdt_reset();
25
26 /* if all else fails, or mode was for soft, jump to 0 */
27 cpu_reset(0);
Ben Dooksd521f872008-10-21 14:06:40 +010028}
29
30#endif /* __ASM_ARCH_IRQ_H */