AGESA: Move romstage main entry under cpu

Hardware / Coreboot - Kyösti Mälkki [gmail.com] - 5 April 2017 09:01 EDT

As we now apply asmlinkage attributes to romstage_main() entry, also x86_64 passes parameters on the stack.

Change-Id: If9938dbbe9a164c9c1029431499b51ffccb459c1

df7ff31 AGESA: Move romstage main entry under cpu
src/cpu/amd/agesa/Makefile.inc | 1 +
src/cpu/amd/agesa/cache_as_ram.inc | 37 ++----------------
src/cpu/amd/agesa/family12/romstage.c | 51 ++++++-------------------
src/cpu/amd/agesa/family14/romstage.c | 63 +++++++++----------------------
src/cpu/amd/agesa/family15/romstage.c | 49 ++++++++++--------------
src/cpu/amd/agesa/family15rl/romstage.c | 53 ++++++++------------------
src/cpu/amd/agesa/family15tn/romstage.c | 56 ++++++++-------------------
src/cpu/amd/agesa/family16kb/romstage.c | 54 ++++++++------------------
src/cpu/amd/agesa/romstage.c | 56 +++++++++++++++++++++++++++
src/include/cpu/amd/car.h | 2 +
src/northbridge/amd/agesa/state_machine.h | 3 ++
11 files changed, 159 insertions(+), 266 deletions(-)

Upstream: review.coreboot.org


  • Share