2 * linux/arch/h8300/platform/h8300h/aki3068net/crt0_ram.S
4 * Yoshinori Sato <ysato@users.sourceforge.jp>
6 * Platform depend startup
7 * Target Archtecture: AE-3068 (aka. aki3068net)
13 #include <asm/linkage.h>
15 #if !defined(CONFIG_BLKDEV_RESERVE)
16 #if defined(CONFIG_GDB_DEBUG)
17 #define RAMEND (__ramend - 0xc000)
19 #define RAMEND __ramend
22 #define RAMEND CONFIG_BLKDEV_RESERVE_ADDRESS
25 .global SYMBOL_NAME(_start)
26 .global SYMBOL_NAME(command_line)
27 .global SYMBOL_NAME(_platform_gpio_table)
28 .global SYMBOL_NAME(_target_name)
36 SYMBOL_NAME_LABEL(_start)
40 /* Peripheral Setup */
42 #if defined(CONFIG_MTD_UCLINUX)
43 /* move romfs image */
60 /* copy kernel commandline */
61 mov.l #COMMAND_START,er5
62 mov.l #SYMBOL_NAME(command_line),er6
66 /* uClinux kernel start */
67 ldc #0x90,ccr /* running kernel */
68 mov.l #SYMBOL_NAME(init_thread_union),sp
77 /* I/O port assign information */
78 __platform_gpio_table:
109 .section .bootvec,"ax"
110 jmp @SYMBOL_NAME(_start)