summaryrefslogblamecommitdiff
path: root/include/asm-arm/arch-omap/system.h
blob: 17a2c4825f074af6d9f075ad07013b4b143f1753 (plain) (tree)



















                                                         
/*
 * Copied from linux/include/asm-arm/arch-sa1100/system.h
 * Copyright (c) 1999 Nicolas Pitre <nico@cam.org>
 */
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H
#include <linux/config.h>
#include <asm/arch/hardware.h>

static inline void arch_idle(void)
{
	cpu_do_idle();
}

static inline void arch_reset(char mode)
{
	omap_writew(1, ARM_RSTCT1);
}

#endif