AGESA: Introduce AGESA_LEGACY and its counterpart

Hardware / Coreboot - Kyösti Mälkki [gmail.com] - 27 March 2017 19:57 EDT

We define AGESA_LEGACY as an implementation of mainboard that has its romstage main completely under mainboard/ directory. We have learnt from other platforms this approach has several downsides when it comes to making platform-wide improvements.

We start by creating per-family romstage.c file, which boards will gradually take into use by removing the AGESA_LEGACY Kconfig option we here apply to all of them.

Change-Id: Id01931e185a023039a60af16a678de9966db8d65

967d94d AGESA: Introduce AGESA_LEGACY and its counterpart
src/cpu/amd/agesa/Kconfig | 7 ++
src/cpu/amd/agesa/family12/Makefile.inc | 1 +
src/cpu/amd/agesa/family12/romstage.c | 88 ++++++++++++++++++++++
src/cpu/amd/agesa/family14/Makefile.inc | 1 +
src/cpu/amd/agesa/family14/romstage.c | 108 +++++++++++++++++++++++++++
src/cpu/amd/agesa/family15/Makefile.inc | 1 +
src/cpu/amd/agesa/family15/romstage.c | 97 ++++++++++++++++++++++++
src/cpu/amd/agesa/family15rl/Makefile.inc | 1 +
src/cpu/amd/agesa/family15rl/romstage.c | 91 ++++++++++++++++++++++
src/cpu/amd/agesa/family15tn/Makefile.inc | 1 +
src/cpu/amd/agesa/family15tn/romstage.c | 93 +++++++++++++++++++++++
src/cpu/amd/agesa/family16kb/Makefile.inc | 1 +
src/cpu/amd/agesa/family16kb/romstage.c | 93 +++++++++++++++++++++++
src/mainboard/amd/dinar/Kconfig | 1 +
src/mainboard/amd/inagua/Kconfig | 1 +
src/mainboard/amd/olivehill/Kconfig | 1 +
src/mainboard/amd/parmer/Kconfig | 1 +
src/mainboard/amd/persimmon/Kconfig | 1 +
src/mainboard/amd/south_station/Kconfig | 1 +
src/mainboard/amd/thatcher/Kconfig | 1 +
src/mainboard/amd/torpedo/Kconfig | 1 +
src/mainboard/amd/union_station/Kconfig | 1 +
src/mainboard/asrock/e350m1/Kconfig | 1 +
src/mainboard/asrock/imb-a180/Kconfig | 1 +
src/mainboard/asus/f2a85-m/Kconfig | 1 +
src/mainboard/bap/ode_e20XX/Kconfig | 1 +
src/mainboard/biostar/am1ml/Kconfig | 1 +
src/mainboard/elmex/pcm205400/Kconfig | 1 +
src/mainboard/gizmosphere/gizmo/Kconfig | 1 +
src/mainboard/gizmosphere/gizmo2/Kconfig | 1 +
src/mainboard/hp/abm/Kconfig | 1 +
src/mainboard/hp/pavilion_m6_1035dx/Kconfig | 1 +
src/mainboard/jetway/nf81-t56n-lf/Kconfig | 1 +
src/mainboard/lenovo/g505s/Kconfig | 1 +
src/mainboard/lippert/frontrunner-af/Kconfig | 1 +
src/mainboard/lippert/toucan-af/Kconfig | 1 +
src/mainboard/msi/ms7721/Kconfig | 1 +
src/mainboard/pcengines/apu1/Kconfig | 1 +
src/mainboard/supermicro/h8qgi/Kconfig | 1 +
src/mainboard/supermicro/h8scm/Kconfig | 1 +
src/mainboard/tyan/s8226/Kconfig | 1 +
src/northbridge/amd/agesa/state_machine.h | 28 +++++++
42 files changed, 639 insertions(+)

Upstream: review.coreboot.org


  • Share