2 * Copyright (C) 2016 Vladimir Zapolskiy <vz@mleia.com>
3 * Copyright (C) 2007, 2010 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5 * SPDX-License-Identifier: GPL-2.0+
8 #include <asm-offsets.h>
17 .long 0x00000010 /* Ppower ON reset PC*/
19 .long 0x00000010 /* Manual reset PC */
22 mov.l ._lowlevel_init, r0
31 mov.l ._reloc_dst_end, r6
43 3: mov.l r1, @r4 /* bss clear */
48 mov.l ._gd_init, r13 /* global data */
49 mov.l ._stack_init, r15 /* stack */
51 mov.l ._sh_generic_init, r0
60 ._lowlevel_init: .long (lowlevel_init - (100b + 4))
61 ._reloc_dst: .long _start
62 ._reloc_dst_end: .long reloc_dst_end
63 ._bss_start: .long bss_start
64 ._bss_end: .long bss_end
65 ._gd_init: .long (_start - GENERATED_GBL_DATA_SIZE)
66 ._stack_init: .long (_start - GENERATED_GBL_DATA_SIZE - CONFIG_SYS_MALLOC_LEN - 16)
67 ._sh_generic_init: .long board_init_f