You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
368 B
21 lines
368 B
20 years ago
|
/*
|
||
|
* 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
|