Marshall Dawson uploaded patch set #13 to the change originally created by Martin Roth.

View Change

x86: Implement RESET_VECTOR_IN_DRAM option

Create a new Kconfig symbol that allows an x86 device to begin execution
when its reset vector is in DRAM and not at the traditional 0xfffffff0.

This implementation assumes the soc or x86 code:
* Builds on existing coreboot romstage infrastructure
* Implements its own custom assembly entry
* Provides all additional symbols and helpers required for linking

Because romstage features are used but the code is in DRAM, do not
create a stage from romstage.elf, and do not include a stage into
coreboot.rom. It is left to the soc or x86 implementation to best
determine how to place the code in DRAM in time for the x86 to
begin executing it at reset.

TEST=None
BUG=b:130804851

Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Change-Id: I678b1f74546ea30abcc655a0daed795d6cfa0034
---
M Makefile.inc
M src/Kconfig
M src/arch/x86/Makefile.inc
M src/arch/x86/memlayout.ld
M src/cpu/x86/32bit/entry32.inc
M src/include/rules.h
6 files changed, 21 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/32414/13

To view, visit change 32414. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I678b1f74546ea30abcc655a0daed795d6cfa0034
Gerrit-Change-Number: 32414
Gerrit-PatchSet: 13
Gerrit-Owner: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Aaron Durbin <adurbin@chromium.org>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@google.com>
Gerrit-Reviewer: Furquan Shaikh <furquan@google.com>
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd@gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Reviewer: ron minnich <rminnich@gmail.com>
Gerrit-CC: Kyösti Mälkki <kyosti.malkki@gmail.com>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-CC: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Gerrit-MessageType: newpatchset