2 * linux/arch/h8300/platform/h8300h/h8max/crt0_ram.S
4 * Yoshinori Sato <ysato@users.sourceforge.jp>
6 * Platform depend startup
7 * Target Archtecture: H8MAX
13 #include <linux/config.h>
14 #include <asm/linkage.h>
16 #if !defined(CONFIG_BLKDEV_RESERVE)
17 #if defined(CONFIG_GDB_DEBUG)
18 #define RAMEND (__ramend - 0xc000)
20 #define RAMEND __ramend
23 #define RAMEND CONFIG_BLKDEV_RESERVE_ADDRESS
26 .global SYMBOL_NAME(_start)
27 .global SYMBOL_NAME(command_line)
28 .global SYMBOL_NAME(_platform_gpio_table)
29 .global SYMBOL_NAME(_target_name)
37 SYMBOL_NAME_LABEL(_start)
41 /* Peripheral Setup */
43 #if defined(CONFIG_MTD_UCLINUX)
44 /* move romfs image */
61 /* copy kernel commandline */
62 mov.l #COMMAND_START,er5
63 mov.l #SYMBOL_NAME(command_line),er6
67 /* uClinux kernel start */
68 ldc #0x90,ccr /* running kernel */
69 mov.l #SYMBOL_NAME(init_thread_union),sp
78 /* I/O port assign information */
79 __platform_gpio_table:
110 .section .bootvec,"ax"
111 jmp @SYMBOL_NAME(_start)