1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * (c) 2015 Purna Chandra Mandal <purna.mandal@microchip.com> 4 * 5*/ 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) 27