From 74060163c97a6f1568535a507d64755fd8d6424f Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Mon, 8 Oct 2018 01:20:49 -0400 Subject: 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 --- projects/coreboot/configs/t400/variants/r400 | 3 +++ projects/coreboot/configs/t400/variants/t400 | 2 ++ projects/coreboot/configs/t400/variants/t500 | 3 +++ projects/coreboot/configs/t400/variants/w500 | 3 +++ 4 files changed, 11 insertions(+) create mode 100644 projects/coreboot/configs/t400/variants/r400 create mode 100644 projects/coreboot/configs/t400/variants/t400 create mode 100644 projects/coreboot/configs/t400/variants/t500 create mode 100644 projects/coreboot/configs/t400/variants/w500 (limited to 'projects/coreboot/configs/t400/variants') 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 -- cgit v1.2.3-70-g09d2