blob: 201c5c30594c4bf2195936fc80bb4aa369fe20c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* 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/iomd.h>
#define arch_reset(mode) { \
outb (0, IOMD_ROMCR0); \
cli(); \
__asm__ __volatile__( \
"mcr p15, 0, %0, c1, c0, 0;" \
"mov pc, #0" \
: \
: "r" (cpu_reset())); \
}
/*
* We can wait for an interrupt...
*/
#define arch_do_idle() \
outb(0, IOMD_SUSMODE)
#define arch_power_off() do { } while (0)
#endif
|