This patch unifies the use of config options in v2 to all start with CONFIG_
[coreboot.git] / src / cpu / x86 / 16bit / reset16.lds
index 80f2fc0c6f8cd1ce43f8f2e14e52eccb36206f3e..929740bd4c90fdf1d5d14873a278ee6bc4a7027d 100644 (file)
@@ -4,7 +4,9 @@
  */
 
 SECTIONS {
-       _ROMTOP = (_ROMBASE >= 0xffff0000)? 0xfffffff0 : 0xffff0;
+       /* Trigger an error if I have an unuseable start address */
+       _bogus = ASSERT(_start >= 0xffff0000, "_start too low. Please decrease CONFIG_ROM_IMAGE_SIZE");
+       _ROMTOP = 0xfffffff0;
        . = _ROMTOP;
        .reset . : {
                *(.reset)