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.
24 lines
396 B
24 lines
396 B
20 years ago
|
/*
|
||
|
* linux/include/asm-arm/arch-cl7500/system.h
|
||
|
*
|
||
|
* Copyright (c) 1999 Nexus Electronics Ltd.
|
||
|
*/
|
||
|
#ifndef __ASM_ARCH_SYSTEM_H
|
||
|
#define __ASM_ARCH_SYSTEM_H
|
||
|
|
||
|
#include <asm/hardware/iomd.h>
|
||
|
#include <asm/io.h>
|
||
|
|
||
|
static inline void arch_idle(void)
|
||
|
{
|
||
|
iomd_writeb(0, IOMD_SUSMODE);
|
||
|
}
|
||
|
|
||
|
#define arch_reset(mode) \
|
||
|
do { \
|
||
|
iomd_writeb(0, IOMD_ROMCR0); \
|
||
|
cpu_reset(0); \
|
||
|
} while (0)
|
||
|
|
||
|
#endif
|