ARM: Add zboot support for SuperH Mobile ARM
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
RFC v3 1/2 ARM: Add zboot support for SuperH Mobile ARM
Quoted 7 lines · Simon Horman
From: Kuninori Morimoto <[email protected]>
When
CONFIG_ZBOOT_ROMis 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.
Quoted 7 lines
Signed-off-by Kuninori Morimoto <[email protected]>Signed-off-by Simon Horman <[email protected]>---
v2:
* As suggested by Magnus Damm; Implemented by Simon Horman ?- Initialise atags in framework and pass atags to kernel
[only keeping reworked atags]
Quoted 6 lines
+__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;
Quoted 8 lines
+ ? ? ? @ 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