blob: 6ecea5ca971bb5e56e82d137f207a3120de31471 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Purna Chandra Mandal5c2dcd22016-01-28 15:30:16 +05302/*
3 * (c) 2015 Purna Chandra Mandal <purna.mandal@microchip.com>
4 *
Purna Chandra Mandal5c2dcd22016-01-28 15:30:16 +05305*/
6
7#include <config.h>
8#include <asm/regdef.h>
9#include <asm/mipsregs.h>
10#include <asm/asm.h>
11
12LEAF(lowlevel_init)
13 /*
14 * Establish Cause
15 * (set IV bit)
16 */
17 li t1, 0x00800000
18 mtc0 t1, CP0_CAUSE
19
20 /* Establish Wired (and Random) */
21 mtc0 zero, CP0_WIRED
22 nop
23
24 jr ra
25 nop
26 END(lowlevel_init)