Marshall Dawson uploaded patch set #7 to the change originally created by Kyösti Mälkki.

View Change

arch/x86: Implement RESET_VECTOR_IN_RAM

Add support for devices with the reset vector pointing into DRAM.
Add a crt0 file that includes the traditional x86 reset code and
a new linker script that describes the early region definitions.
New Kconfig options allow the soc to determine the total early
DRAM storage required, as well as the BSP stack size.

The current implementation piggy-backs off of the romstage build
but does not require romstage to be in cbfs.

Similar to changes made when bootblock could begin executing C,
the extra _start label and gdt_init.S must be excluded.

Change-Id: I9c084ff6fdcf7e9154436f038705e8679daea780
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
---
M Makefile.inc
M src/arch/x86/Kconfig
M src/arch/x86/Makefile.inc
A src/arch/x86/early_dram.ld
M src/arch/x86/include/arch/cpu.h
M src/arch/x86/memlayout.ld
A src/arch/x86/reset_in_dram_crt0.S
M src/cpu/Kconfig
M src/cpu/x86/32bit/entry32.inc
M src/include/memlayout.h
10 files changed, 142 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/35035/7

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9c084ff6fdcf7e9154436f038705e8679daea780
Gerrit-Change-Number: 35035
Gerrit-PatchSet: 7
Gerrit-Owner: Kyösti Mälkki <kyosti.malkki@gmail.com>
Gerrit-Reviewer: Aaron Durbin <adurbin@chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki@gmail.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd@gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset