]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 29 Jan 2013 12:34:19 +0000 (12:34 +0000)
commit22dc80bcd5d7386842ee15f340e376768f082c0a
tree89e7c89b726b944348ae401acdc152521a7b6bd8
parentb6c99a792610a87157b27732d4e730b5e8c73086
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]