blob: e37bebb539b825fd1baf2530753c2df7338d01a5 [file] [log] [blame]
Purna Chandra Mandal5c2dcd22016-01-28 15:30:16 +05301/*
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
13LEAF(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)