blob: 1282c9505abf29bff2e34e39884762f22c17e3e3 (
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
|
/*
* linux/include/asm-arm/arch-rpc/system.h
*
* Copyright (c) 1996-1999 Russell King.
*/
#include <asm/arch/hardware.h>
#include <asm/iomd.h>
#include <asm/io.h>
#define arch_do_idle() cpu_do_idle()
#define arch_power_off() do { } while (0)
extern __inline__ void arch_reset(char mode)
{
extern void ecard_reset(int card);
ecard_reset(-1);
outb(0, IOMD_ROMCR0);
/*
* Jump into the ROM
*/
cpu_reset(0);
}
|