]> git.karo-electronics.de Git - linux-beck.git/commit
C6X: early boot code
authorAurelien Jacquiot <a-jacquiot@ti.com>
Tue, 4 Oct 2011 15:00:02 +0000 (11:00 -0400)
committerMark Salter <msalter@redhat.com>
Thu, 6 Oct 2011 23:47:28 +0000 (19:47 -0400)
commitc1a144d77a6ca3a14ba3c0fec30bc4fd20b3d817
treee5a761211a22a90ca2eb1c933d2b3539c6888831
parentc278400c52c14203894c5dc0d63cf385239d8329
C6X: early boot code

Original port to early 2.6 kernel using TI COFF toolchain.
Brought up to date by Mark Salter <msalter@redhat.com>

This patch provides the early boot code for C6X architecture. There is a
16 entry vector table which is used to direct reset and interrupt events. The
vector table entries contain a small amount of code (maximum of 8 opcodes)
which simply branches to the actual event handling code.

The head.S code simply clears BSS, setups up a few control registers, and calls
machine_init followed by start_kernel. The machine_init code in setup.c does
the early flat tree parsing (memory, commandline, etc). At setup_arch time, the
code does the usual memory setup and minimally scans the devicetree for any
needed information.

Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com>
Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/c6x/kernel/head.S [new file with mode: 0644]
arch/c6x/kernel/setup.c [new file with mode: 0644]
arch/c6x/kernel/vectors.S [new file with mode: 0644]