Skip to content

Commit 8409599

Browse files
committed
Revert "arch: aarch32: fix z_mapped_start location for non-XIP operation"
This reverts commit 9e9e60b. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent a08d359 commit 8409599

File tree

1 file changed

+5
-0
lines changed
  • include/zephyr/arch/arm/aarch32/cortex_a_r/scripts

1 file changed

+5
-0
lines changed

include/zephyr/arch/arm/aarch32/cortex_a_r/scripts/linker.ld

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ SECTIONS
133133
{
134134
. = ALIGN(_region_min_align);
135135
__text_region_start = .;
136+
#ifndef CONFIG_XIP
137+
z_mapped_start = .;
138+
#endif
136139

137140
#include <zephyr/linker/kobject-text.ld>
138141

@@ -244,7 +247,9 @@ SECTIONS
244247
*/
245248
. = ALIGN(_region_min_align);
246249
_image_ram_start = .;
250+
#ifdef CONFIG_XIP
247251
z_mapped_start = .;
252+
#endif
248253

249254
/* Located in generated directory. This file is populated by the
250255
* zephyr_linker_sources() Cmake function.

0 commit comments

Comments
 (0)