2 * Non-board-specific low-level startup code
4 * Copyright (C) 2004-2006 Atmel Corporation
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 #include <linux/linkage.h>
13 #include <asm/thread_info.h>
14 #include <asm/sysreg.h>
16 .section .init.text,"ax"
19 /* Initialize status register */
23 /* Set initial stack pointer */
27 #ifdef CONFIG_FRAME_POINTER
28 /* Mark last stack frame */
33 /* Set up the PIO, SDRAM controller, early printk, etc. */
34 rcall board_early_init
37 lddpc pc, kernel_start_addr
41 .long 0x007f0000 /* Supervisor mode, everything masked */
43 .long init_thread_union