aboutsummaryrefslogtreecommitdiff
path: root/projects/coreboot/configs/t400/variants
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/configs/t400/variants
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/configs/t400/variants')
-rw-r--r--projects/coreboot/configs/t400/variants/r4003
-rw-r--r--projects/coreboot/configs/t400/variants/t4002
-rw-r--r--projects/coreboot/configs/t400/variants/t5003
-rw-r--r--projects/coreboot/configs/t400/variants/w5003
4 files changed, 11 insertions, 0 deletions
diff --git a/projects/coreboot/configs/t400/variants/r400 b/projects/coreboot/configs/t400/variants/r400
new file mode 100644
index 00000000..33f5741e
--- /dev/null
+++ b/projects/coreboot/configs/t400/variants/r400
@@ -0,0 +1,3 @@
+CONFIG_MAINBOARD_PART_NUMBER="ThinkPad R400"
+CONFIG_BOARD_LENOVO_T400=n
+CONFIG_BOARD_LENOVO_R400=y
diff --git a/projects/coreboot/configs/t400/variants/t400 b/projects/coreboot/configs/t400/variants/t400
new file mode 100644
index 00000000..5b674883
--- /dev/null
+++ b/projects/coreboot/configs/t400/variants/t400
@@ -0,0 +1,2 @@
+CONFIG_MAINBOARD_PART_NUMBER="ThinkPad T400"
+CONFIG_BOARD_LENOVO_T400=y
diff --git a/projects/coreboot/configs/t400/variants/t500 b/projects/coreboot/configs/t400/variants/t500
new file mode 100644
index 00000000..ddd055d1
--- /dev/null
+++ b/projects/coreboot/configs/t400/variants/t500
@@ -0,0 +1,3 @@
+CONFIG_MAINBOARD_PART_NUMBER="ThinkPad T500"
+CONFIG_BOARD_LENOVO_T400=n
+CONFIG_BOARD_LENOVO_T500=y
diff --git a/projects/coreboot/configs/t400/variants/w500 b/projects/coreboot/configs/t400/variants/w500
new file mode 100644
index 00000000..124a5a00
--- /dev/null
+++ b/projects/coreboot/configs/t400/variants/w500
@@ -0,0 +1,3 @@
+CONFIG_MAINBOARD_PART_NUMBER="ThinkPad W500"
+CONFIG_BOARD_LENOVO_T400=n
+CONFIG_BOARD_LENOVO_W500=y