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>
19 mov.l ._lowlevel_init, r0
27 add #(_sh_start-1b), r5
28 mov.l ._reloc_dst_end, r6
40 3: mov.l r1, @r4 /* bss clear */
45 mov.l ._gd_init, r13 /* global data */
46 mov.l ._stack_init, r15 /* stack */
48 mov.l ._sh_generic_init, r0
57 ._lowlevel_init: .long (lowlevel_init - (100b + 4))
58 ._reloc_dst: .long reloc_dst
59 ._reloc_dst_end: .long reloc_dst_end
60 ._bss_start: .long bss_start
61 ._bss_end: .long bss_end
62 ._gd_init: .long (_sh_start - GENERATED_GBL_DATA_SIZE)
63 ._stack_init: .long (_sh_start - GENERATED_GBL_DATA_SIZE - CONFIG_SYS_MALLOC_LEN - 16)
64 ._sh_generic_init: .long sh_generic_init