[rfc v3 1/2] ARM: Add zboot support for SuperH Mobile ARM

Magnus Damm magnus.damm at gmail.com
Thu Oct 14 04:39:22 EDT 2010


On Thu, Oct 14, 2010 at 5:03 PM, Simon Horman <horms at horms.net> wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
>
> When CONFIG_ZBOOT_ROM is selected, the resulting zImage file will be small
> boot loader and may be burned to rom or flash.
>
> This is the non-board-specific framework portion of this patch-set.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> Signed-off-by: Simon Horman <horms at verge.net.au>
>
> ---
> v2:
> * As suggested by Magnus Damm; Implemented by Simon Horman
>  - Initialise atags in framework and pass atags to kernel

[only keeping reworked atags]

> +__atags:@ tag #1
> +       .long   12                      @ tag->hdr.size = tag_size(tag_core);
> +       .long   0x54410001              @ tag->hdr.tag = ATAG_CORE;
> +       .long   0                       @ tag->u.core.flags = 0;
> +       .long   0                       @ tag->u.core.pagesize = 0;
> +       .long   0                       @ tag->u.core.rootdev = 0;
> +       @ tag #2
> +       .long   8                       @ tag->hdr.size = tag_size(tag_mem32);
> +       .long   0x54410002              @ tag->hdr.tag = ATAG_MEM;
> +       .long   CONFIG_MEMORY_SIZE      @ tag->u.mem.size = CONFIG_MEMORY_SIZE;
> +       .long   CONFIG_MEMORY_START     @ @ tag->u.mem.start = CONFIG_MEMORY_START;
> +       @ tag #3
> +       .long   0                       @ tag->hdr.size = 0
> +       .long   0                       @ tag->hdr.tag = ATAG_NONE;

Yes, this looks much better. Thank you!

/ magnus



More information about the linux-arm-kernel mailing list