summaryrefslogtreecommitdiff
path: root/src/arch/x86/init/bootblock.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/init/bootblock.ld')
-rw-r--r--src/arch/x86/init/bootblock.ld3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/init/bootblock.ld b/src/arch/x86/init/bootblock.ld
index edba8e6f61..eab64cf8d8 100644
--- a/src/arch/x86/init/bootblock.ld
+++ b/src/arch/x86/init/bootblock.ld
@@ -49,5 +49,6 @@ SECTIONS
*(.comment.*)
*(.note.*)
}
- _bogus = ASSERT((SIZEOF(.bss) + SIZEOF(.data)) == 0, "Do not use global variables in romstage");
+
+ _bogus = ASSERT((SIZEOF(.bss) + SIZEOF(.data)) == 0 || CONFIG_AMD_AGESA, "Do not use global variables in romstage");
}