summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/mips/bootblock.S8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/arch/mips/bootblock.S b/src/arch/mips/bootblock.S
index dbde803b14..f369e006fa 100644
--- a/src/arch/mips/bootblock.S
+++ b/src/arch/mips/bootblock.S
@@ -39,6 +39,10 @@ _start:
/* Run main */
b main
- /* Should never return from main. */
-2:
+ /*
+ * Should never return from main. Make sure there is no branch in the
+ * branch delay slot.
+ */
+2: nop
b 2b
+ nop /* Make sure there is no branch after this either. */