]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit980c3602223372cb1a9bdb675d3598772b5d40a8
tree04041c1a8998b8bf4bd5d91bf4c157fca6164d19
parent85b39c3f7090adcb671d0c50bd341f23fe4b227a
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]