- To reduce confuse rename the parts of linuxbios bios that run from
[coreboot.git] / src / cpu / x86 / 16bit / reset16.lds
index 80f2fc0c6f8cd1ce43f8f2e14e52eccb36206f3e..d01f094b3c3b8a794fd0da1e403e198fb80132de 100644 (file)
@@ -4,7 +4,8 @@
  */
 
 SECTIONS {
-       _ROMTOP = (_ROMBASE >= 0xffff0000)? 0xfffffff0 : 0xffff0;
+       /* Trigger an error if I have an unuseable start address */
+       _ROMTOP = (_start >= 0xffff0000) ? 0xfffffff0 : 0xffffffff8;
        . = _ROMTOP;
        .reset . : {
                *(.reset)
@@ -12,3 +13,4 @@ SECTIONS {
                BYTE(0x00);
        } 
 }
+