Purna Chandra Mandal | be961fa | 2016-01-28 15:30:16 +0530 | [diff] [blame] | 1 | /* |
2 | * (c) 2015 Purna Chandra Mandal <purna.mandal@microchip.com> | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: GPL-2.0+ | ||||
5 | * | ||||
6 | */ | ||||
7 | |||||
8 | #include <config.h> | ||||
9 | #include <asm/regdef.h> | ||||
10 | #include <asm/mipsregs.h> | ||||
11 | #include <asm/asm.h> | ||||
12 | |||||
13 | LEAF(lowlevel_init) | ||||
14 | /* | ||||
15 | * Establish Cause | ||||
16 | * (set IV bit) | ||||
17 | */ | ||||
18 | li t1, 0x00800000 | ||||
19 | mtc0 t1, CP0_CAUSE | ||||
20 | |||||
21 | /* Establish Wired (and Random) */ | ||||
22 | mtc0 zero, CP0_WIRED | ||||
23 | nop | ||||
24 | |||||
25 | jr ra | ||||
26 | nop | ||||
27 | END(lowlevel_init) |