aboutsummaryrefslogtreecommitdiff
path: root/board/qemu-mips/lowlevel_init.S
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-05-25 11:48:37 -0400
committerTom Rini <trini@konsulko.com>2021-05-25 11:48:37 -0400
commit4c3e99460c6551ef1a626375dd1dd1f7f7c55af8 (patch)
tree6435bfd4e7d8af923c11486a7741bc170a919262 /board/qemu-mips/lowlevel_init.S
parente1bf0336a58cfe873a34c36ff53e5e3806f2d263 (diff)
parent835b4fdf3bf5ec778e1fb7610f00707754454974 (diff)
Merge tag 'mips-pull-2021-05-25' of https://source.denx.de/u-boot/custodians/u-boot-mips
- MIPS: octeon: fix CFI flash setup - MIPS: remove qemu_mips boards
Diffstat (limited to 'board/qemu-mips/lowlevel_init.S')
-rw-r--r--board/qemu-mips/lowlevel_init.S40
1 files changed, 0 insertions, 40 deletions
diff --git a/board/qemu-mips/lowlevel_init.S b/board/qemu-mips/lowlevel_init.S
deleted file mode 100644
index b0f7072701..0000000000
--- a/board/qemu-mips/lowlevel_init.S
+++ /dev/null
@@ -1,40 +0,0 @@
-/* Memory sub-system initialization code */
-
-#include <config.h>
-#include <asm/regdef.h>
-#include <asm/mipsregs.h>
-
- .text
- .set noreorder
- .set mips32
-
- .globl lowlevel_init
-lowlevel_init:
-
- /*
- * Step 2) Establish Status Register
- * (set BEV, clear ERL, clear EXL, clear IE)
- */
- li t1, 0x00400000
- mtc0 t1, CP0_STATUS
-
- /*
- * Step 3) Establish CP0 Config0
- * (set K0=3)
- */
- li t1, 0x00000003
- mtc0 t1, CP0_CONFIG
-
- /*
- * Step 7) Establish Cause
- * (set IV bit)
- */
- li t1, 0x00800000
- mtc0 t1, CP0_CAUSE
-
- /* Establish Wired (and Random) */
- mtc0 zero, CP0_WIRED
- nop
-
- jr ra
- nop