3 * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
6 * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8 * SPDX-License-Identifier: GPL-2.0+
11 #include <asm-offsets.h>
20 mov.l ._lowlevel_init, r0
28 add #(_sh_start-1b), r5
29 mov.l ._reloc_dst_end, r6
41 3: mov.l r1, @r4 /* bss clear */
46 mov.l ._gd_init, r13 /* global data */
47 mov.l ._stack_init, r15 /* stack */
49 mov.l ._sh_generic_init, r0
58 ._lowlevel_init: .long (lowlevel_init - (100b + 4))
59 ._reloc_dst: .long reloc_dst
60 ._reloc_dst_end: .long reloc_dst_end
61 ._bss_start: .long bss_start
62 ._bss_end: .long bss_end
63 ._gd_init: .long (_sh_start - GENERATED_GBL_DATA_SIZE)
64 ._stack_init: .long (_sh_start - GENERATED_GBL_DATA_SIZE - CONFIG_SYS_MALLOC_LEN - 16)
65 ._sh_generic_init: .long sh_generic_init