mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-20 12:36:20 +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
52 lines
747 B
Plaintext
52 lines
747 B
Plaintext
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/* identify the Entry Point */
|
|
ENTRY(reset_handler)
|
|
|
|
/* specify the mini-ICache memory areas */
|
|
MEMORY
|
|
{
|
|
mini_icache_0 (x) : ORIGIN = 0x0, LENGTH = 1024 /* first part of mini icache (sets 0-31) */
|
|
mini_icache_1 (x) : ORIGIN = 0x400, LENGTH = 1024 /* second part of mini icache (sets 0-31) */
|
|
}
|
|
|
|
/* now define the output sections */
|
|
SECTIONS
|
|
{
|
|
.part1 :
|
|
{
|
|
LONG(0)
|
|
LONG(0)
|
|
LONG(0)
|
|
LONG(0)
|
|
LONG(0)
|
|
LONG(0)
|
|
LONG(0)
|
|
LONG(0)
|
|
*(.part1)
|
|
} >mini_icache_0
|
|
|
|
.part2 :
|
|
{
|
|
LONG(0)
|
|
LONG(0)
|
|
LONG(0)
|
|
LONG(0)
|
|
LONG(0)
|
|
LONG(0)
|
|
LONG(0)
|
|
LONG(0)
|
|
*(.part2)
|
|
FILL(0x0)
|
|
} >mini_icache_1
|
|
|
|
/DISCARD/ :
|
|
{
|
|
*(.text)
|
|
*(.glue_7)
|
|
*(.glue_7t)
|
|
*(.data)
|
|
*(.bss)
|
|
}
|
|
}
|