blob: 39f4c84a4c64537411778ea1f2f13b9927505b91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* linux/include/asm-arm/arch-ebsa110/system.h
*
* Copyright (c) 1996-1999 Russell King.
*/
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H
#define arch_do_idle() cpu_do_idle()
#define arch_power_off() do { } while (0)
extern __inline__ void arch_reset(char mode)
{
if (mode == 's') {
__asm__ volatile(
"mcr p15, 0, %0, c1, c0, 0 @ MMU off
mov pc, #0x80000000 @ jump to flash"
: : "r" (cpu_reset()) : "cc");
}
}
#endif
|