mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [RFC 1/2] MIPS: start.S: add "barebox" label at _start + 8
@ 2012-04-28 13:52 Antony Pavlov
  2012-04-28 13:52 ` [RFC 2/2] MIPS: bootm: add "MIPS barebox" handler Antony Pavlov
  2012-04-28 16:04 ` [RFC 1/2] MIPS: start.S: add "barebox" label at _start + 8 Antony Pavlov
  0 siblings, 2 replies; 4+ messages in thread
From: Antony Pavlov @ 2012-04-28 13:52 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 arch/mips/boot/start.S |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/mips/boot/start.S b/arch/mips/boot/start.S
index b756d40..d8f4fd5 100644
--- a/arch/mips/boot/start.S
+++ b/arch/mips/boot/start.S
@@ -52,6 +52,14 @@ _pc:	addiu	\rd, ra, \label - _pc		# label is assumed to be
 	.align 4
 
 EXPORT(_start)
+
+	b	__start
+	 nop
+
+	.ascii  "barebox"
+	.byte   0
+
+__start:
 	/* disable watchpoints */
 	mtc0	zero, CP0_WATCHLO
 	mtc0	zero, CP0_WATCHHI
-- 
1.7.10


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-30 12:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-28 13:52 [RFC 1/2] MIPS: start.S: add "barebox" label at _start + 8 Antony Pavlov
2012-04-28 13:52 ` [RFC 2/2] MIPS: bootm: add "MIPS barebox" handler Antony Pavlov
2012-04-28 16:04 ` [RFC 1/2] MIPS: start.S: add "barebox" label at _start + 8 Antony Pavlov
2012-04-30 11:51   ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox