metag: Boot
authorJames Hogan <james.hogan@imgtec.com>
Fri, 21 Sep 2012 16:38:15 +0000 (17:38 +0100)
committerJames Hogan <james.hogan@imgtec.com>
Sat, 2 Mar 2013 20:09:17 +0000 (20:09 +0000)
commit85d9d7a9206631abd1030cd69ebb1c45f4a01037
tree04041c1a8998b8bf4bd5d91bf4c157fca6164d19
parent87aa1328f23a6bec15115af4d815e9c378557ef6
metag: Boot

Add boot code for metag. Due to the multi-threaded nature of Meta it is
not uncommon for an RTOS or bare metal application to be started on
other hardware threads by the bootloader. Since there is a single MMU
switch which affects all threads, the MMU is traditionally configured by
the bootloader prior to starting Linux. The bootloader passes a
structure to Linux which among other things contains information about
memory regions which have been mapped. Linux then assumes control of the
local heap memory region.

A kernel arguments string pointer or a flattened device tree pointer can
be provided in the third argument.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/metag/boot/.gitignore [new file with mode: 0644]
arch/metag/include/asm/mach/arch.h [new file with mode: 0644]
arch/metag/include/asm/setup.h [new file with mode: 0644]
arch/metag/kernel/head.S [new file with mode: 0644]
arch/metag/kernel/machines.c [new file with mode: 0644]
arch/metag/kernel/setup.c [new file with mode: 0644]