diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2024-02-05 15:10:28 +0100 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2024-03-26 22:53:31 +0000 |
commit | 929dfec0bd0ac8228f3fd97baa53cf611efe4d2d (patch) | |
tree | 679cef1668a723da5f33fc4eb039796fbf87e643 /src/mainboard/lenovo/t400 | |
parent | e8c3d39edb734843b690ca69316c487a2ca68942 (diff) |
arch/x86/bootblock.ld: Align the base of bootblock downwards
Instead of using some aritmetics that sometimes works, use the largest
alignment necessary (page tables) and align downwards in the linker
script.
This fixes linking failing when linking in page tables inside the
bootblock.
This can result in a slight increase in bootblock size of at most 4096 -
512 bytes.
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Change-Id: I78c6ba6e250ded3f04b12cd0c20b18cb653a1506
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80346
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/t400')
0 files changed, 0 insertions, 0 deletions