coreboot-kgpe-d16/src/mainboard/amd/south_station
Angel Pons db2e11841a AGESA f14/f15tn/f16kb: Clean up buildOpts.c files
Until now, the buildOpts.c files were primarily made out of copy-pasted
AGESA options, commented-out definitions and several useless comments;
that is, the materialization of technical debt in GCC-parsable form...

Until now.

It is assumed that the boards in the tree still boot. So, by comparing
their settings, we can extract saner defaults to place into AGESA. Many
of the settings were common across all boards of the same family, so we
promote those values to default settings. In some cases flipping a flag
was required, so the macros to alter that option had to be adapted as
well. Since those AGESA versions are expected to never receive updates,
it should not be a problem to change their files to suit our needs.

As a result, all but two buildOpts.c files now have less than 100 lines.
AGESA f14 boards need less than 50 lines, and f15tn/f16kb just require
about 60 or 70 lines in those files. Hopefully, this will make porting
more mainboards using AGESA f14/f15tn/f16kb a substantially easier task.

TEST=Use abuild --timeless to check that all AGESA f14/f15tn/f16kb
mainboards result in identical coreboot binaries.

Change-Id: Ife1ca5177d85441b9a7b24d64d7fcbabde6e0409
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41667
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Mike Banon <mikebdp2@gmail.com>
2020-06-01 17:00:15 +00:00
..
acpi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
acpi_tables.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
BiosCallOuts.c src/mainboard: Remove unused 'include <stdlib.h>' 2020-05-13 08:54:14 +00:00
board_info.txt
bootblock.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
buildOpts.c AGESA f14/f15tn/f16kb: Clean up buildOpts.c files 2020-06-01 17:00:15 +00:00
cmos.layout treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
devicetree.cb mainboard/*/*/*.cb: Remove leading blank lines from SPDX header 2020-05-18 07:01:11 +00:00
dsdt.asl treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
irq_tables.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig mainboard/*/*/Kconfig*: Remove leading blank lines from SPDX header 2020-05-18 07:00:58 +00:00
Kconfig.name mb/amd/south_station: Switch away from ROMCC_BOOTBLOCK 2020-02-24 13:55:59 +00:00
mainboard.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Makefile.inc src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
mptable.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
OemCustomize.c AGESA boards: Fix typo in *OVERRIDES* in comment 2020-05-29 12:48:48 +00:00
OptionsIds.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
platform_cfg.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00