summaryrefslogtreecommitdiff
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-01-21 00:08:17 -0600
committerAaron Durbin <adurbin@chromium.org>2016-01-23 18:25:48 +0100
commiteb907b3c9047fc262893a57c42777928b50c17d9 (patch)
tree5e42d469d9594eccfac5fbd511a0abf86b191063 /src/arch/x86/include
parent1b915b89044c06ae7957544b97d6c30d496366e0 (diff)
arch/x86: link bootblock like other stages for C_ENVIRONMENT_BOOTBLOCK
When C_ENVIRONMENT_BOOTBLOCK is selected link bootblock using the memlayout.ld scripts and infrastructure. This allows bootblock on x86 to utilize all the other coreboot infrastructure without relying romcc. Change-Id: Ie3e077d553360853bf33f30cf8a347ba1df1e389 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/13069 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r--src/arch/x86/include/arch/header.ld4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/header.ld b/src/arch/x86/include/arch/header.ld
index 07aec76ea2..89cb6de467 100644
--- a/src/arch/x86/include/arch/header.ld
+++ b/src/arch/x86/include/arch/header.ld
@@ -40,3 +40,7 @@ PHDRS
ENTRY(protected_start)
#endif
#endif
+
+#if IS_ENABLED(CONFIG_C_ENVIRONMENT_BOOTBLOCK) && ENV_BOOTBLOCK
+ENTRY(reset_vector)
+#endif