diff options
author | Purna Chandra Mandal <purna.mandal@microchip.com> | 2016-01-28 15:30:16 +0530 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2016-02-01 22:14:01 +0100 |
commit | be961fa15bcb01c5a50c184e3dcc3ab0379edddb (patch) | |
tree | 6f32741beefece410941c1f18514b957df91a2d0 /arch/mips/mach-pic32/lowlevel_init.S | |
parent | 9ffa7a35ef940b27813c11f68eb28a6b82696915 (diff) | |
download | u-boot-imx-be961fa15bcb01c5a50c184e3dcc3ab0379edddb.zip u-boot-imx-be961fa15bcb01c5a50c184e3dcc3ab0379edddb.tar.gz u-boot-imx-be961fa15bcb01c5a50c184e3dcc3ab0379edddb.tar.bz2 |
MIPS: Add support for Microchip PIC32MZ[DA] SoC family.
Add Microchip PIC32MZ[DA] SoC family support.
Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/mach-pic32/lowlevel_init.S')
-rw-r--r-- | arch/mips/mach-pic32/lowlevel_init.S | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/mips/mach-pic32/lowlevel_init.S b/arch/mips/mach-pic32/lowlevel_init.S new file mode 100644 index 0000000..e37bebb --- /dev/null +++ b/arch/mips/mach-pic32/lowlevel_init.S @@ -0,0 +1,27 @@ +/* + * (c) 2015 Purna Chandra Mandal <purna.mandal@microchip.com> + * + * SPDX-License-Identifier: GPL-2.0+ + * +*/ + +#include <config.h> +#include <asm/regdef.h> +#include <asm/mipsregs.h> +#include <asm/asm.h> + +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) |