summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/common/block/cpu/noncar/memlayout_psp_verstage.ld10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/cpu/noncar/memlayout_psp_verstage.ld b/src/soc/amd/common/block/cpu/noncar/memlayout_psp_verstage.ld
index f38682339a..e0278abfc8 100644
--- a/src/soc/amd/common/block/cpu/noncar/memlayout_psp_verstage.ld
+++ b/src/soc/amd/common/block/cpu/noncar/memlayout_psp_verstage.ld
@@ -17,8 +17,14 @@ SECTIONS
.text : { *(.text*) }
.rodata : { *(.rodata*) }
- .data : { *(.data*) }
- .data : { *(PSP_FOOTER_DATA) }
+ .data : {
+ *(.data*);
+ *(PSP_FOOTER_DATA);
+#if CONFIG(CBFS_VERIFICATION)
+ *(.metadata_hash_anchor);
+ . = ALIGN(64);
+#endif
+ }
_bss_start = .;
.bss : { *(.bss*) }