Skip to content

Commit ffd8ab9

Browse files
authored
Merge pull request #1301 from tlaurion/reduce_coreboot_configuration_duplicates-label_legacy_boards_correctly
xx20/xx30: Reduce coreboot configuration duplicates + label legacy boards correctly
2 parents 5b6370c + 0112763 commit ffd8ab9

34 files changed

+33
-296
lines changed

.circleci/config.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -290,43 +290,43 @@ workflows:
290290
- x230-hotp-maximized
291291

292292
- build:
293-
name: x230-flash
294-
target: x230-flash
293+
name: x230-legacy-flash
294+
target: x230-legacy-flash
295295
subcommand: ""
296296
requires:
297297
- x230-hotp-maximized
298298

299299
- build:
300-
name: t430-flash
301-
target: t430-flash
300+
name: t430-legacy-flash
301+
target: t430-legacy-flash
302302
subcommand: ""
303303
requires:
304304
- x230-hotp-maximized
305305

306306
- build:
307-
name: t430
308-
target: t430
307+
name: t430-legacy
308+
target: t430-legacy
309309
subcommand: ""
310310
requires:
311311
- x230-hotp-maximized
312312

313313
- build:
314-
name: t430-hotp-verification
315-
target: t430-hotp-verification
314+
name: t430-hotp-legacy
315+
target: t430-hotp-legacy
316316
subcommand: ""
317317
requires:
318318
- x230-hotp-maximized
319319

320320
- build:
321-
name: x230
322-
target: x230
321+
name: x230-legacy
322+
target: x230-legacy
323323
subcommand: ""
324324
requires:
325325
- x230-hotp-maximized
326326

327327
- build:
328-
name: x230-hotp-verification
329-
target: x230-hotp-verification
328+
name: x230-hotp-legacy
329+
target: x230-hotp-legacy
330330
subcommand: ""
331331
requires:
332332
- x230-hotp-maximized

boards/t420-hotp-maximized/t420-hotp-maximized.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export CONFIG_COREBOOT=y
1212
export CONFIG_COREBOOT_VERSION=4.13
1313
export CONFIG_LINUX_VERSION=4.14.62
1414

15-
CONFIG_COREBOOT_CONFIG=config/coreboot-t420-hotp-maximized.config
15+
CONFIG_COREBOOT_CONFIG=config/coreboot-t420-maximized.config
1616
CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config
1717

1818
#Additional hardware support

boards/t430-hotp-verification/t430-hotp-verification.config renamed to boards/t430-hotp-legacy/t430-hotp-legacy.config

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export CONFIG_COREBOOT=y
1111
export CONFIG_COREBOOT_VERSION=4.13
1212
export CONFIG_LINUX_VERSION=4.14.62
1313

14-
CONFIG_COREBOOT_CONFIG=config/coreboot-t430-hotp-verification.config
14+
CONFIG_COREBOOT_CONFIG=config/coreboot-t430-legacy.config
1515
CONFIG_LINUX_CONFIG=config/linux-x230-legacy.config
1616

1717
#Additional hardware support
@@ -61,7 +61,7 @@ export CONFIG_BOOT_REQ_ROLLBACK=n
6161
export CONFIG_BOOT_KERNEL_ADD="intel_iommu=on intel_iommu=igfx_off"
6262
export CONFIG_BOOT_KERNEL_REMOVE="quiet"
6363
export CONFIG_BOOT_DEV="/dev/sda1"
64-
export CONFIG_BOARD_NAME="Thinkpad T430-hotp"
64+
export CONFIG_BOARD_NAME="Thinkpad T430-hotp-legacy"
6565
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal --ifd --image bios"
6666

6767
# This board has two SPI flash chips, an 8 MB that holds the IFD,

boards/t430-hotp-maximized/t430-hotp-maximized.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export CONFIG_COREBOOT=y
1010
export CONFIG_COREBOOT_VERSION=4.13
1111
export CONFIG_LINUX_VERSION=4.14.62
1212

13-
CONFIG_COREBOOT_CONFIG=config/coreboot-t430-hotp-maximized.config
13+
CONFIG_COREBOOT_CONFIG=config/coreboot-t430-maximized.config
1414
CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config
1515

1616
#Additional hardware support

boards/t430-flash/t430-flash.config renamed to boards/t430-legacy-flash/t430-legacy-flash.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CONFIG_LINUX_USB=y
1818
#CONFIG_LINUX_E1000E=y
1919

2020
export CONFIG_BOOTSCRIPT=/bin/t430-flash.init
21-
export CONFIG_BOARD_NAME="ThinkPad T430-flash"
21+
export CONFIG_BOARD_NAME="ThinkPad T430-legacy-flash"
2222
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal --ifd --image bios"
2323

2424
# This board is "special" in that we need a 4MB top SPI flashable ROM.

boards/t430/t430.config renamed to boards/t430-legacy/t430-legacy.config

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export CONFIG_COREBOOT=y
88
export CONFIG_COREBOOT_VERSION=4.13
99
export CONFIG_LINUX_VERSION=4.14.62
1010

11-
CONFIG_COREBOOT_CONFIG=config/coreboot-t430.config
11+
CONFIG_COREBOOT_CONFIG=config/coreboot-t430-legacy.config
1212
CONFIG_LINUX_CONFIG=config/linux-x230-legacy.config
1313

1414
#Additional hardware support
@@ -56,7 +56,7 @@ export CONFIG_BOOT_REQ_ROLLBACK=n
5656
export CONFIG_BOOT_KERNEL_ADD="intel_iommu=on intel_iommu=igfx_off"
5757
export CONFIG_BOOT_KERNEL_REMOVE="quiet"
5858
export CONFIG_BOOT_DEV="/dev/sda1"
59-
export CONFIG_BOARD_NAME="Thinkpad T430"
59+
export CONFIG_BOARD_NAME="Thinkpad T430-legacy"
6060
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal --ifd --image bios"
6161

6262
# This board has two SPI flash chips, an 8 MB that holds the IFD,

boards/t520-hotp-maximized/t520-hotp-maximized.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export CONFIG_COREBOOT=y
88
export CONFIG_COREBOOT_VERSION=4.13
99
export CONFIG_LINUX_VERSION=4.14.62
1010

11-
CONFIG_COREBOOT_CONFIG=config/coreboot-t520-hotp-maximized.config
11+
CONFIG_COREBOOT_CONFIG=config/coreboot-t520-maximized.config
1212
CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config
1313

1414
#Additional hardware support

boards/t530-dgpu-hotp-maximized/t530-dgpu-hotp-maximized.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export CONFIG_COREBOOT=y
1111
export CONFIG_COREBOOT_VERSION=4.13
1212
export CONFIG_LINUX_VERSION=4.14.62
1313

14-
CONFIG_COREBOOT_CONFIG=config/coreboot-t530-dgpu-hotp-maximized.config
14+
CONFIG_COREBOOT_CONFIG=config/coreboot-t530-dgpu-maximized.config
1515
CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config
1616

1717
#Additional hardware support

boards/t530-hotp-maximized/t530-hotp-maximized.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export CONFIG_COREBOOT=y
1111
export CONFIG_COREBOOT_VERSION=4.13
1212
export CONFIG_LINUX_VERSION=4.14.62
1313

14-
CONFIG_COREBOOT_CONFIG=config/coreboot-t530-hotp-maximized.config
14+
CONFIG_COREBOOT_CONFIG=config/coreboot-t530-maximized.config
1515
CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config
1616

1717
#Additional hardware support

boards/w530-dgpu-K1000m-hotp-maximized/w530-dgpu-K1000m-hotp-maximized.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export CONFIG_COREBOOT=y
1111
export CONFIG_COREBOOT_VERSION=4.13
1212
export CONFIG_LINUX_VERSION=4.14.62
1313

14-
CONFIG_COREBOOT_CONFIG=config/coreboot-w530-dgpu-K1000m-hotp-maximized.config
14+
CONFIG_COREBOOT_CONFIG=config/coreboot-w530-dgpu-K1000m-maximized.config
1515
CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config
1616

1717
#Additional hardware support

boards/w530-dgpu-K2000m-hotp-maximized/w530-dgpu-K2000m-hotp-maximized.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export CONFIG_COREBOOT=y
1111
export CONFIG_COREBOOT_VERSION=4.13
1212
export CONFIG_LINUX_VERSION=4.14.62
1313

14-
CONFIG_COREBOOT_CONFIG=config/coreboot-w530-dgpu-K2000m-hotp-maximized.config
14+
CONFIG_COREBOOT_CONFIG=config/coreboot-w530-dgpu-K2000m-maximized.config
1515
CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config
1616

1717
#Additional hardware support

boards/w530-hotp-maximized/w530-hotp-maximized.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export CONFIG_COREBOOT=y
1111
export CONFIG_COREBOOT_VERSION=4.13
1212
export CONFIG_LINUX_VERSION=4.14.62
1313

14-
CONFIG_COREBOOT_CONFIG=config/coreboot-w530-hotp-maximized.config
14+
CONFIG_COREBOOT_CONFIG=config/coreboot-w530-maximized.config
1515
CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config
1616

1717
#Additional hardware support

boards/x220-hotp-maximized/x220-hotp-maximized.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export CONFIG_COREBOOT=y
1212
export CONFIG_COREBOOT_VERSION=4.13
1313
export CONFIG_LINUX_VERSION=4.14.62
1414

15-
CONFIG_COREBOOT_CONFIG=config/coreboot-x220-hotp-maximized.config
15+
CONFIG_COREBOOT_CONFIG=config/coreboot-x220-maximized.config
1616
CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config
1717

1818
#Additional hardware support

boards/x230-hotp-verification/x230-hotp-verification.config renamed to boards/x230-hotp-legacy/x230-hotp-legacy.config

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export CONFIG_COREBOOT=y
1111
export CONFIG_COREBOOT_VERSION=4.13
1212
export CONFIG_LINUX_VERSION=4.14.62
1313

14-
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-hotp-verification.config
14+
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-legacy.config
1515
CONFIG_LINUX_CONFIG=config/linux-x230-legacy.config
1616

1717
#Additional hardware support
@@ -61,7 +61,7 @@ export CONFIG_BOOT_REQ_ROLLBACK=n
6161
export CONFIG_BOOT_KERNEL_ADD="intel_iommu=on intel_iommu=igfx_off"
6262
export CONFIG_BOOT_KERNEL_REMOVE="quiet"
6363
export CONFIG_BOOT_DEV="/dev/sda1"
64-
export CONFIG_BOARD_NAME="Thinkpad X230-hotp"
64+
export CONFIG_BOARD_NAME="Thinkpad X230-hotp-legacy"
6565
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal --ifd --image bios"
6666

6767
# This board has two SPI flash chips, an 8 MB that holds the IFD,

boards/x230-hotp-maximized/x230-hotp-maximized.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export CONFIG_COREBOOT=y
1010
export CONFIG_COREBOOT_VERSION=4.13
1111
export CONFIG_LINUX_VERSION=4.14.62
1212

13-
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-hotp-maximized.config
13+
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-maximized.config
1414
CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config
1515

1616
#Additional hardware support

boards/x230-hotp-maximized_usb-kb/x230-hotp-maximized_usb-kb.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export CONFIG_COREBOOT=y
1212
export CONFIG_COREBOOT_VERSION=4.13
1313
export CONFIG_LINUX_VERSION=4.14.62
1414

15-
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-hotp-maximized_usb-kb.config
15+
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-maximized.config
1616
CONFIG_LINUX_CONFIG=config/linux-x230-maximized.config
1717

1818
#Additional hardware support

boards/x230-flash/x230-flash.config renamed to boards/x230-legacy-flash/x230-legacy-flash.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CONFIG_LINUX_USB=y
1818
#CONFIG_LINUX_E1000E=y
1919

2020
export CONFIG_BOOTSCRIPT=/bin/x230-flash.init
21-
export CONFIG_BOARD_NAME="ThinkPad X230-flash"
21+
export CONFIG_BOARD_NAME="ThinkPad X230-legacy-flash"
2222
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal --ifd --image bios"
2323

2424
# This board is "special" in that we need a 4MB top SPI flashable ROM.

boards/x230/x230.config renamed to boards/x230-legacy/x230-legacy.config

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export CONFIG_COREBOOT=y
77
export CONFIG_COREBOOT_VERSION=4.13
88
export CONFIG_LINUX_VERSION=4.14.62
99

10-
CONFIG_COREBOOT_CONFIG=config/coreboot-x230.config
10+
CONFIG_COREBOOT_CONFIG=config/coreboot-x230-legacy.config
1111
CONFIG_LINUX_CONFIG=config/linux-x230-legacy.config
1212

1313
#Additional hardware support
@@ -55,7 +55,7 @@ export CONFIG_BOOT_REQ_ROLLBACK=n
5555
export CONFIG_BOOT_KERNEL_ADD="intel_iommu=on intel_iommu=igfx_off"
5656
export CONFIG_BOOT_KERNEL_REMOVE="quiet"
5757
export CONFIG_BOOT_DEV="/dev/sda1"
58-
export CONFIG_BOARD_NAME="Thinkpad X230"
58+
export CONFIG_BOARD_NAME="Thinkpad X230-legacy"
5959
export CONFIG_FLASHROM_OPTIONS="--force --noverify-all -p internal --ifd --image bios"
6060

6161
# This board has two SPI flash chips, an 8 MB that holds the IFD,

config/coreboot-t420-hotp-maximized.config

-22
This file was deleted.

config/coreboot-t430-hotp-maximized.config

-22
This file was deleted.

config/coreboot-t430-hotp-verification.config

-16
This file was deleted.
File renamed without changes.

config/coreboot-t520-hotp-maximized.config

-23
This file was deleted.

config/coreboot-t530-hotp-maximized.config

-23
This file was deleted.

config/coreboot-w530-dgpu-K1000m-hotp-maximized.config

-30
This file was deleted.

0 commit comments

Comments
 (0)