[RFCv2 1/2] MIPS: start.S: add "barebox" label at _start + 0x10
Sascha Hauer
s.hauer at pengutronix.de
Fri May 11 03:05:30 EDT 2012
On Thu, May 10, 2012 at 01:35:11PM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
Applied (both)
Thanks
Sascha
> ---
> arch/mips/boot/start.S | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/mips/boot/start.S b/arch/mips/boot/start.S
> index b756d40..e8868e1 100644
> --- a/arch/mips/boot/start.S
> +++ b/arch/mips/boot/start.S
> @@ -25,6 +25,8 @@
> #include <asm/mipsregs.h>
> #include <asm/asm.h>
> #include <asm-generic/memory_layout.h>
> +#include <generated/compile.h>
> +#include <generated/utsrelease.h>
>
> /*
> * ADR macro instruction (inspired by ARM)
> @@ -52,6 +54,16 @@ _pc: addiu \rd, ra, \label - _pc # label is assumed to be
> .align 4
>
> EXPORT(_start)
> +
> + b __start
> + nop
> +
> + .org 0x10
> + .ascii "barebox " UTS_RELEASE " " UTS_VERSION
> + .byte 0
> +
> + .align 4
> +__start:
> /* disable watchpoints */
> mtc0 zero, CP0_WATCHLO
> mtc0 zero, CP0_WATCHHI
> --
> 1.7.10
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list