make oldconfig will rebuild these...
[linux-2.4.21-pre4.git] / include / asm-arm / proc-armv / uncompress.h
1 /*
2  *  linux/include/asm-arm/proc-armv/uncompress.h
3  *
4  *  Copyright (C) 1997 Russell King
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10
11 static inline void proc_decomp_setup (void)
12 {
13         __asm__ __volatile__("
14         mrc     p15, 0, r0, c0, c0
15         eor     r0, r0, #0x44 << 24
16         eor     r0, r0, #0x01 << 16
17         eor     r0, r0, #0xA1 << 8
18         movs    r0, r0, lsr #5
19         mcreq   p15, 0, r0, c7, c5, 0           @ flush I cache
20         mrceq   p15, 0, r0, c1, c0
21         orreq   r0, r0, #1 << 12
22         mcreq   p15, 0, r0, c1, c0              @ enable I cache
23         mov     r0, #0
24         mcreq   p15, 0, r0, c15, c1, 2          @ enable clock switching
25         " : : : "r0", "cc", "memory");
26 }