diff options
author | Tom Rini <trini@konsulko.com> | 2016-02-01 16:58:46 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-02-01 16:58:46 -0500 |
commit | d2427caf54a08ec80e8bfa5ef2c0b4377da55bab (patch) | |
tree | cccf177a353a50be781364a69f957e2a116cac45 /arch/mips/mach-pic32/lowlevel_init.S | |
parent | 735b1a2e5a61401868bb35702b6e5e18bce6eb97 (diff) | |
parent | 7d514a7407756d96996960c2ae539a4b464c65bc (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-mips
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 0000000000..e37bebb539 --- /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) |