alistair23-linux/arch/metag/kernel/machines.c
James Hogan 85d9d7a920 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>
2013-03-02 20:09:17 +00:00

21 lines
359 B
C

/*
* arch/metag/kernel/machines.c
*
* Copyright (C) 2012 Imagination Technologies Ltd.
*
* Generic Meta Boards.
*/
#include <linux/init.h>
#include <asm/irq.h>
#include <asm/mach/arch.h>
static const char *meta_boards_compat[] __initdata = {
"img,meta",
NULL,
};
MACHINE_START(META, "Generic Meta")
.dt_compat = meta_boards_compat,
MACHINE_END