summaryrefslogtreecommitdiffstats
path: root/arch/mips/boot/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/boot/start.S')
-rw-r--r--arch/mips/boot/start.S44
1 files changed, 0 insertions, 44 deletions
diff --git a/arch/mips/boot/start.S b/arch/mips/boot/start.S
deleted file mode 100644
index c1cd2d9dd5..0000000000
--- a/arch/mips/boot/start.S
+++ /dev/null
@@ -1,44 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Startup Code for MIPS CPU
- *
- * Copyright (C) 2011, 2015 Antony Pavlov <antonynpavlov@gmail.com>
- */
-
-#include <asm/pbl_macros.h>
-
- .set noreorder
- .section ".text_entry"
- .align 4
-
-EXPORT(_start)
-
- mips_barebox_10h
-
- /* save dtb pointer */
- move s0, a0
- move s1, a1
- move s2, a2
-
- /* disable watchpoints */
- mtc0 zero, CP0_WATCHLO
- mtc0 zero, CP0_WATCHHI
-
- mips_disable_interrupts
-
- copy_to_link_location _start
-
- stack_setup
-
- /* restore dtb pointer */
- move a0, s0
- move a1, s1
- move a2, s2
- la v0, relocate_code
- jal v0
- nop
-
- /* No return */
-__error:
- b __error
- nop