From be961fa15bcb01c5a50c184e3dcc3ab0379edddb Mon Sep 17 00:00:00 2001 From: Purna Chandra Mandal Date: Thu, 28 Jan 2016 15:30:16 +0530 Subject: MIPS: Add support for Microchip PIC32MZ[DA] SoC family. Add Microchip PIC32MZ[DA] SoC family support. Signed-off-by: Purna Chandra Mandal Reviewed-by: Daniel Schwierzeck --- arch/mips/mach-pic32/lowlevel_init.S | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 arch/mips/mach-pic32/lowlevel_init.S (limited to 'arch/mips/mach-pic32/lowlevel_init.S') diff --git a/arch/mips/mach-pic32/lowlevel_init.S b/arch/mips/mach-pic32/lowlevel_init.S new file mode 100644 index 0000000000..e37bebb539 --- /dev/null +++ b/arch/mips/mach-pic32/lowlevel_init.S @@ -0,0 +1,27 @@ +/* + * (c) 2015 Purna Chandra Mandal + * + * SPDX-License-Identifier: GPL-2.0+ + * +*/ + +#include +#include +#include +#include + +LEAF(lowlevel_init) + /* + * Establish Cause + * (set IV bit) + */ + li t1, 0x00800000 + mtc0 t1, CP0_CAUSE + + /* Establish Wired (and Random) */ + mtc0 zero, CP0_WIRED + nop + + jr ra + nop + END(lowlevel_init) -- cgit v1.2.1