mb/purism/librem_skl: add 13v3 variant

The 13v3 is just a 13v2 with TPM added, so duplicate 13v2 config
and change strings where needed. Leave MAINBOARD_PART_NUMBER unchanged
since boards were initially shipped with 13v2 firmware, and changing
it now would cause flashrom to throw a board mismatch error.

Change-Id: I1a5e4c84cc9444bb9731b6dcc4de2ce7427dbbb1
Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
Reviewed-on: https://review.coreboot.org/c/31010
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Matt DeVillier 2019-01-18 23:00:20 -06:00 committed by Patrick Georgi
parent 83e915e943
commit b28d8b68ba
2 changed files with 9 additions and 0 deletions

View File

@ -22,6 +22,7 @@ config IRQ_SLOT_COUNT
config VARIANT_DIR
string
default "librem13v2" if BOARD_PURISM_LIBREM13_V2
default "librem13v2" if BOARD_PURISM_LIBREM13_V3
default "librem15v3" if BOARD_PURISM_LIBREM15_V3
default "librem13v2" if BOARD_PURISM_LIBREM13_V4
default "librem15v3" if BOARD_PURISM_LIBREM15_V4
@ -33,6 +34,7 @@ config MAINBOARD_VENDOR
config MAINBOARD_FAMILY
string
default "Librem 13" if BOARD_PURISM_LIBREM13_V2
default "Librem 13" if BOARD_PURISM_LIBREM13_V3
default "Librem 15" if BOARD_PURISM_LIBREM15_V3
default "Librem 13" if BOARD_PURISM_LIBREM13_V4
default "Librem 15" if BOARD_PURISM_LIBREM15_V4
@ -40,6 +42,7 @@ config MAINBOARD_FAMILY
config MAINBOARD_PART_NUMBER
string
default "Librem 13 v2" if BOARD_PURISM_LIBREM13_V2
default "Librem 13 v2" if BOARD_PURISM_LIBREM13_V3
default "Librem 15 v3" if BOARD_PURISM_LIBREM15_V3
default "Librem 13 v4" if BOARD_PURISM_LIBREM13_V4
default "Librem 15 v4" if BOARD_PURISM_LIBREM15_V4
@ -47,6 +50,7 @@ config MAINBOARD_PART_NUMBER
config MAINBOARD_VERSION
string
default "2.0" if BOARD_PURISM_LIBREM13_V2
default "3.0" if BOARD_PURISM_LIBREM13_V3
default "3.0" if BOARD_PURISM_LIBREM15_V3
default "4.0" if BOARD_PURISM_LIBREM13_V4
default "4.0" if BOARD_PURISM_LIBREM15_V4
@ -66,6 +70,7 @@ config MAX_CPUS
config VGA_BIOS_ID
string
default "8086,1916" if BOARD_PURISM_LIBREM13_V2
default "8086,1916" if BOARD_PURISM_LIBREM13_V3
default "8086,1916" if BOARD_PURISM_LIBREM15_V3
default "8086,5916" if BOARD_PURISM_LIBREM13_V4
default "8086,5916" if BOARD_PURISM_LIBREM15_V4

View File

@ -2,6 +2,10 @@ config BOARD_PURISM_LIBREM13_V2
bool "Librem 13 v2"
select BOARD_PURISM_BASEBOARD_LIBREM_SKL
config BOARD_PURISM_LIBREM13_V3
bool "Librem 13 v3"
select BOARD_PURISM_BASEBOARD_LIBREM_SKL
config BOARD_PURISM_LIBREM15_V3
bool "Librem 15 v3"
select BOARD_PURISM_BASEBOARD_LIBREM_SKL