summaryrefslogtreecommitdiff
path: root/src/mainboard/purism
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@puri.sm>2019-01-18 23:00:20 -0600
committerPatrick Georgi <pgeorgi@google.com>2019-01-23 14:42:17 +0000
commitb28d8b68bad4d8777b7e4131b127cd55bfb4357e (patch)
treed395ce366b961332b42aa2d4d369b07de2aa1ac3 /src/mainboard/purism
parent83e915e9432dc5e987a6df636cc9d10ba4300865 (diff)
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>
Diffstat (limited to 'src/mainboard/purism')
-rw-r--r--src/mainboard/purism/librem_skl/Kconfig5
-rw-r--r--src/mainboard/purism/librem_skl/Kconfig.name4
2 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/purism/librem_skl/Kconfig b/src/mainboard/purism/librem_skl/Kconfig
index bf62bff21c..b3413b73d5 100644
--- a/src/mainboard/purism/librem_skl/Kconfig
+++ b/src/mainboard/purism/librem_skl/Kconfig
@@ -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
diff --git a/src/mainboard/purism/librem_skl/Kconfig.name b/src/mainboard/purism/librem_skl/Kconfig.name
index 6a66e45950..5b82de7435 100644
--- a/src/mainboard/purism/librem_skl/Kconfig.name
+++ b/src/mainboard/purism/librem_skl/Kconfig.name
@@ -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