2 * linux/include/asm-arm/proc-armv/uncompress.h
4 * Copyright (C) 1997 Russell King
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.
11 static inline void proc_decomp_setup (void)
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
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
24 mcreq p15, 0, r0, c15, c1, 2 @ enable clock switching
25 " : : : "r0", "cc", "memory");