purism/librem_bdl: Convert to variant setup
Convert the purism/librem13v1 to a variant setup, in preparation for adding the librem15v2 board as a new variant. The Librem 13 v1 and Librem 15 v2 are nearly identical, so this minimizes new code to add support for the latter. Also update the URL in board_info to an archive.org link. Change-Id: I00bb82b9e895e2464ddaa92915c01ce0e35933a2 Signed-off-by: Youness Alaoui <youness.alaoui@puri.sm> Reviewed-on: https://review.coreboot.org/26183 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
96184e9f2d
commit
b799e0df3d
@@ -1,7 +1,5 @@
|
|||||||
if BOARD_PURISM_LIBREM13_V1
|
config BOARD_PURISM_BASEBOARD_LIBREM_BDL
|
||||||
|
def_bool n
|
||||||
config BOARD_SPECIFIC_OPTIONS # dummy
|
|
||||||
def_bool y
|
|
||||||
select SYSTEM_TYPE_LAPTOP
|
select SYSTEM_TYPE_LAPTOP
|
||||||
select BOARD_ROMSIZE_KB_8192
|
select BOARD_ROMSIZE_KB_8192
|
||||||
select EC_PURISM_LIBREM
|
select EC_PURISM_LIBREM
|
||||||
@@ -10,6 +8,16 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||||||
select INTEL_INT15
|
select INTEL_INT15
|
||||||
select SOC_INTEL_BROADWELL
|
select SOC_INTEL_BROADWELL
|
||||||
|
|
||||||
|
if BOARD_PURISM_BASEBOARD_LIBREM_BDL
|
||||||
|
|
||||||
|
config VARIANT_DIR
|
||||||
|
string
|
||||||
|
default "librem13v1" if BOARD_PURISM_LIBREM13_V1
|
||||||
|
|
||||||
|
config DEVICETREE
|
||||||
|
string
|
||||||
|
default "variants/librem13v1/devicetree.cb" if BOARD_PURISM_LIBREM13_V1
|
||||||
|
|
||||||
config DRIVERS_PS2_KEYBOARD
|
config DRIVERS_PS2_KEYBOARD
|
||||||
def_bool y
|
def_bool y
|
||||||
help
|
help
|
||||||
@@ -37,11 +45,23 @@ config HAVE_ME_BIN
|
|||||||
|
|
||||||
config MAINBOARD_DIR
|
config MAINBOARD_DIR
|
||||||
string
|
string
|
||||||
default purism/librem13v1
|
default purism/librem_bdl
|
||||||
|
|
||||||
|
config MAINBOARD_VENDOR
|
||||||
|
string
|
||||||
|
default "Purism"
|
||||||
|
|
||||||
config MAINBOARD_PART_NUMBER
|
config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "Librem 13 v1"
|
default "Librem 13 v1" if BOARD_PURISM_LIBREM13_V1
|
||||||
|
|
||||||
|
config MAINBOARD_FAMILY
|
||||||
|
string
|
||||||
|
default "Librem 13" if BOARD_PURISM_LIBREM13_V1
|
||||||
|
|
||||||
|
config MAINBOARD_VERSION
|
||||||
|
string
|
||||||
|
default "1.0" if BOARD_PURISM_LIBREM13_V1
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
@@ -1,2 +1,3 @@
|
|||||||
config BOARD_PURISM_LIBREM13_V1
|
config BOARD_PURISM_LIBREM13_V1
|
||||||
bool "Librem 13 v1"
|
bool "Librem 13 v1"
|
||||||
|
select BOARD_PURISM_BASEBOARD_LIBREM_BDL
|
@@ -13,5 +13,5 @@
|
|||||||
## GNU General Public License for more details.
|
## GNU General Public License for more details.
|
||||||
##
|
##
|
||||||
|
|
||||||
romstage-y += pei_data.c
|
romstage-y += variants/$(VARIANT_DIR)/pei_data.c
|
||||||
ramstage-y += pei_data.c
|
ramstage-y += variants/$(VARIANT_DIR)/pei_data.c
|
@@ -1,7 +1,6 @@
|
|||||||
Category: laptop
|
Category: laptop
|
||||||
Vendor name: Purism
|
Vendor name: Purism
|
||||||
Board name: Librem 13 v1
|
Board name: Librem Broadwell baseboard
|
||||||
Board URL: https://puri.sm/librem-13/
|
|
||||||
ROM package: SOIC8
|
ROM package: SOIC8
|
||||||
ROM protocol: SPI
|
ROM protocol: SPI
|
||||||
ROM socketed: n
|
ROM socketed: n
|
@@ -0,0 +1,9 @@
|
|||||||
|
Category: laptop
|
||||||
|
Vendor name: Purism
|
||||||
|
Board name: Librem 13 v1
|
||||||
|
Board URL: https://web.archive.org/web/20161018125457/https://puri.sm/librem-13
|
||||||
|
ROM package: SOIC8
|
||||||
|
ROM protocol: SPI
|
||||||
|
ROM socketed: n
|
||||||
|
Flashrom support: y
|
||||||
|
Release year: 2015
|
Reference in New Issue
Block a user