summaryrefslogtreecommitdiff
path: root/src/arch/x86/init
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/init')
-rw-r--r--src/arch/x86/init/bootblock.ld (renamed from src/arch/x86/init/ldscript_fallback_cbfs.lb)5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/arch/x86/init/ldscript_fallback_cbfs.lb b/src/arch/x86/init/bootblock.ld
index 082b21193c..8363ab1e66 100644
--- a/src/arch/x86/init/ldscript_fallback_cbfs.lb
+++ b/src/arch/x86/init/bootblock.ld
@@ -29,7 +29,7 @@ SECTIONS
/* cut _start into last 64k*/
_x = .;
- . = (_x < (CONFIG_ROMBASE - 0x10000 + CONFIG_ROM_IMAGE_SIZE)) ? (CONFIG_ROMBASE - 0x10000 + CONFIG_ROM_IMAGE_SIZE) : _x;
+ . = (_x < CONFIG_ROMBASE) ? (CONFIG_ROMBASE) : _x;
/* This section might be better named .setup */
.rom . : {
@@ -49,6 +49,5 @@ SECTIONS
*(.comment.*)
*(.note.*)
}
-/* _bogus = ASSERT((SIZEOF(.bss) + SIZEOF(.data)) == 0, "Do not use global variables in romstage"); */
- _bogus = ASSERT((SIZEOF(.bss)) == 0, "Do not use global variables in romstage");
+ _bogus = ASSERT((SIZEOF(.bss) + SIZEOF(.data)) == 0, "Do not use global variables in romstage");
}