Marshall Dawson has uploaded a new patch set (#7) to the change originally created by Kyösti Mälkki. ( https://review.coreboot.org/c/coreboot/+/35035 )
Change subject: arch/x86: Implement RESET_VECTOR_IN_RAM ......................................................................
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