mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-08-14 02:14:08 +10:00
Some file miss completely the license tag. Add the SPDX tag, using the same GPL-2.0-or-later license of the OpenOCD project. The SPDX tag on files *.c is incorrect, as it should use the C99 single line comment using '//'. But current checkpatch doesn't allow C99 comments, so keep using standard C comments, by now. Change-Id: I24bd362eeb6b74f09aceb9b757d45cbfa4afe334 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7160 Tested-by: jenkins
25 lines
378 B
ArmAsm
25 lines
378 B
ArmAsm
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#if __riscv_xlen == 64
|
|
# define LREG ld
|
|
# define SREG sd
|
|
# define REGBYTES 8
|
|
#else
|
|
# define LREG lw
|
|
# define SREG sw
|
|
# define REGBYTES 4
|
|
#endif
|
|
|
|
.section .text.entry
|
|
.global _start
|
|
_start:
|
|
lla sp, stack_end
|
|
jal flash_fespi
|
|
ebreak
|
|
|
|
.section .data
|
|
.balign REGBYTES
|
|
stack:
|
|
.fill 16, REGBYTES, 0x8675309
|
|
stack_end:
|