aboutsummaryrefslogtreecommitdiff
path: root/projects/coreboot/coreboot-helper
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2018-10-08 01:20:49 -0400
committerAndrew Robbins <contact@andrewrobbins.info>2018-10-08 21:30:02 -0400
commit74060163c97a6f1568535a507d64755fd8d6424f (patch)
tree942939bfebc1a072f6eaa83b9e59a2eddb088f56 /projects/coreboot/coreboot-helper
parentbde26c043d969529a4b93e095d6bb7a1d03254a3 (diff)
downloadlibrebootfr-74060163c97a6f1568535a507d64755fd8d6424f.tar.gz
librebootfr-74060163c97a6f1568535a507d64755fd8d6424f.zip
Consolidate R400/T400/T500/W500 Coreboot configs
The goal here is to have fewer full configuration files. By consolidating the T400 board configs (and board variants such as the R400/T500/W500) into at most two base configs we can rely on separate target-specific configs (e.g., for different flash sizes) to override our default values given in projects/coreboot/configs/t400/config File contents of the new configs located at projects/coreboot/t400/variants/ are now supplied to make as command-line arguments, overriding the same configurations in the base config. The T400 file is included as an example of which configurations need to be overriden by a variant for a proper SMBIOS name to be used. Configs allowing for different ROM chip sizes other than the default are reimplemented in a subsequent commit. The following are no longer valid targets when building Coreboot: r400_16mb r400_8mb r400_4mb t400_16mb t400_8mb t400_4mb t500_16mb t500_8mb t500_4mb w500_16mb w500_8mb w500_4mb
Diffstat (limited to 'projects/coreboot/coreboot-helper')
-rwxr-xr-xprojects/coreboot/coreboot-helper4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/coreboot/coreboot-helper b/projects/coreboot/coreboot-helper
index 8a528fa5..ad696a16 100755
--- a/projects/coreboot/coreboot-helper
+++ b/projects/coreboot/coreboot-helper
@@ -29,6 +29,10 @@ coreboot_config_path() {
project_file_path "$project" "$CONFIGS" "$CONFIG" "$@"
}
+coreboot_variant_config_path() {
+ project_file_path "$project" "$CONFIGS" "$VARIANTS/$board" "$@"
+}
+
coreboot_ec_check() {
project_file_test "$project" "$CONFIGS" "$EC" "$@"
}