aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/cpu/noncar/memlayout_transfer_buffer.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common/block/cpu/noncar/memlayout_transfer_buffer.inc')
-rw-r--r--src/soc/amd/common/block/cpu/noncar/memlayout_transfer_buffer.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/cpu/noncar/memlayout_transfer_buffer.inc b/src/soc/amd/common/block/cpu/noncar/memlayout_transfer_buffer.inc
index 1b80f6b291..896512a0cd 100644
--- a/src/soc/amd/common/block/cpu/noncar/memlayout_transfer_buffer.inc
+++ b/src/soc/amd/common/block/cpu/noncar/memlayout_transfer_buffer.inc
@@ -1,10 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#if CONFIG(VBOOT)
+#if CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK)
ALIGN_COUNTER(64)
_transfer_buffer = .;
REGION(transfer_info, ., TRANSFER_INFO_SIZE, 4)
+#endif
+#if CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK) || CONFIG(VBOOT_STARTS_IN_BOOTBLOCK)
ALIGN_COUNTER(64)
VBOOT2_WORK(., VB2_FIRMWARE_WORKBUF_RECOMMENDED_SIZE)
#endif
@@ -15,6 +17,6 @@
CBFS_MCACHE(., CONFIG_CBFS_MCACHE_SIZE)
FMAP_CACHE(., FMAP_SIZE)
-#if CONFIG(VBOOT)
+#if CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK)
_etransfer_buffer = .;
#endif