[coreboot-gerrit] Patch merged into coreboot/master: x86: provide minimum alignment for romstage
gerrit at coreboot.org
gerrit at coreboot.org
Wed Sep 9 19:34:37 CET 2015
the following patch was just integrated into master:
commit 4b34909d099e395161b90c5528382450dc9937fc
Author: Aaron Durbin <adurbin at chromium.org>
Date: Mon Sep 7 23:05:28 2015 -0500
x86: provide minimum alignment for romstage
The current way the XIP address of romstage is calculated is by
doing a 'cbfstool locate' using a bin file of romstage linked
at address 0. That address is then used for re-linking romstage at
the address spit out by cbfstool. Currently, the linker actually
sets minimum alignment on the text sections as 32 bytes, but it
doesn't actually honor that value. Instead, provide a minimum
alignment for romstage so as not to fight the linker.
BUG=chrome-os-partner:44827
BRANCH=None
TEST=Built asus/kfsn4-dre. Confirmed ROMSTAGE_BASE == gdtptr.
Change-Id: Id6ec65d257df9ede78c720b0d7d4b56acfbb3f15
Signed-off-by: Aaron Durbin <adubin at chromium.org>
Reviewed-on: http://review.coreboot.org/11588
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi at google.com>
See http://review.coreboot.org/11588 for details.
-gerrit
More information about the coreboot-gerrit
mailing list