summaryrefslogtreecommitdiffstats
path: root/arch/x86/ldscript.ld
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2008-08-24 11:31:19 +0000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2008-08-24 11:31:19 +0000
commit7aed3ac79cf3c42f92fbfead5320b6875f74972e (patch)
tree2369fc6154ccd42a94e1767b82dca0ae309e7ef3 /arch/x86/ldscript.ld
parent9fc4de30d2be8c10988dfd583a95c98bab7dabe8 (diff)
downloadcoreboot-7aed3ac79cf3c42f92fbfead5320b6875f74972e.tar.gz
coreboot-7aed3ac79cf3c42f92fbfead5320b6875f74972e.tar.bz2
coreboot-7aed3ac79cf3c42f92fbfead5320b6875f74972e.zip
For Ron: make BOOTBLOCK_SIZE a variable in the ldscript.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/coreboot-v3@814 f3766cd6-281f-0410-b1cd-43a5c92072e9
Diffstat (limited to 'arch/x86/ldscript.ld')
-rw-r--r--arch/x86/ldscript.ld4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/ldscript.ld b/arch/x86/ldscript.ld
index 360e2f3f65dd..a71fb2818883 100644
--- a/arch/x86/ldscript.ld
+++ b/arch/x86/ldscript.ld
@@ -25,10 +25,12 @@ OUTPUT_ARCH(i386)
ENTRY(_start)
*/
+BOOTBLOCK_SIZE = 20480;
+
TARGET(binary)
SECTIONS
{
- . = 0xffffb000 + 256; /* leave space for vpd */
+ . = 0 - BOOTBLOCK_SIZE + 256; /* leave space for vpd */
.stage0_1 . : {
_stage0_1 = .;