riscv: add entry assembly file for RAMSTAGE

Hardware / Coreboot - Xiang Wang [126.com] - 5 September 2018 10:04 EDT

RAMSTAGE will revoke CAR/scratchpad, so stack and exception handling needs to be moved to ddr memory. So add a assembly file to do this.

Change-Id: I58aa6ff911f385180bad6e026d3c3eace846e37d

21ed107958 riscv: add entry assembly file for RAMSTAGE
src/arch/riscv/Makefile.inc | 4 +++
src/arch/riscv/include/arch/header.ld | 4 ++-
src/arch/riscv/ramstage.S | 53 +++++++++++++++++++++++++++++++++++
3 files changed, 60 insertions(+), 1 deletion(-)

Upstream: review.coreboot.org


  • Share