2 * linux/arch/h8300/platform/h8s/edosk2674/crt0_ram.S
4 * Yoshinori Sato <ysato@users.sourceforge.jp>
6 * Platform depend startup
7 * Target Archtecture: generic
13 #include <asm/linkage.h>
14 #include <asm/regs267x.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)
42 /* Peripheral Setup */
43 bclr #4,@INTCR:8 /* interrupt mode 2 */
46 #if defined(CONFIG_MTD_UCLINUX)
47 /* move romfs image */
64 /* copy kernel commandline */
65 mov.l #COMMAND_START,er5
66 mov.l #SYMBOL_NAME(command_line),er6
70 /* uClinux kernel start */
71 ldc #0x90,ccr /* running kernel */
72 mov.l #SYMBOL_NAME(init_thread_union),sp
81 /* I/O port assign information */
82 __platform_gpio_table:
126 .section .bootvec,"ax"
127 jmp @SYMBOL_NAME(_start)