blob: 62a9d8539970a3135f74a4c6a0a2cc4abb87b2a9 [file] [log] [blame]
Patrick Williams8e7b46e2023-05-01 14:19:06 -05001From 25b131f0d082b32b262c4e788f3bc95b7761bef7 Mon Sep 17 00:00:00 2001
2From: Emekcan Aras <emekcan.aras@arm.com>
3Date: Mon, 13 Mar 2023 00:16:49 +0000
4Subject: [PATCH 4/6] Platform: corstone1000: Fix linker script comment
5
6From: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
7
8Comment explaining the necessary defines to copy multiple ROM to RAM
9sections, was refering to the wrong file.
10
11Upstream-Status: Submitted [https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/20556]
12Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
13Change-Id: I3e5f806330481daa24c5456d9c956e0cf589afee
14---
15 .../arm/corstone1000/Device/Source/gcc/corstone1000_bl1_1.ld | 2 +-
16 .../arm/corstone1000/Device/Source/gcc/corstone1000_bl1_2.ld | 2 +-
17 2 files changed, 2 insertions(+), 2 deletions(-)
18
19diff --git a/platform/ext/target/arm/corstone1000/Device/Source/gcc/corstone1000_bl1_1.ld b/platform/ext/target/arm/corstone1000/Device/Source/gcc/corstone1000_bl1_1.ld
20index d4eca2841..8ee334c6b 100644
21--- a/platform/ext/target/arm/corstone1000/Device/Source/gcc/corstone1000_bl1_1.ld
22+++ b/platform/ext/target/arm/corstone1000/Device/Source/gcc/corstone1000_bl1_1.ld
23@@ -89,7 +89,7 @@ SECTIONS
24
25 /* To copy multiple ROM to RAM sections,
26 * define etext2/data2_start/data2_end and
27- * define __STARTUP_COPY_MULTIPLE in startup_corstone700_bl2.S */
28+ * define __STARTUP_COPY_MULTIPLE in startup_corstone1000.c */
29 .copy.table :
30 {
31 . = ALIGN(4);
32diff --git a/platform/ext/target/arm/corstone1000/Device/Source/gcc/corstone1000_bl1_2.ld b/platform/ext/target/arm/corstone1000/Device/Source/gcc/corstone1000_bl1_2.ld
33index 6cd806378..e1e4f2966 100644
34--- a/platform/ext/target/arm/corstone1000/Device/Source/gcc/corstone1000_bl1_2.ld
35+++ b/platform/ext/target/arm/corstone1000/Device/Source/gcc/corstone1000_bl1_2.ld
36@@ -84,7 +84,7 @@ SECTIONS
37
38 /* To copy multiple ROM to RAM sections,
39 * define etext2/data2_start/data2_end and
40- * define __STARTUP_COPY_MULTIPLE in startup_corstone700_bl2.S */
41+ * define __STARTUP_COPY_MULTIPLE in startup_corstone1000.c */
42 .copy.table :
43 {
44 . = ALIGN(4);
45--
462.17.1
47