purism/librem_skl: remove 13v3 target, clean up Kconfig
Remove the Librem 13v3 as a separate board; instead build a single firmware image for the 13 v2/v3 boards. Clean up Kconfig options: - remove entries for 13v3 board - fold entries into a single line where possible - remove redundant MAINBOARD_VERSION option (will default to 1.0) - remove unused microcode length/location (only needed for FSP CAR) Test: build/boot Librem 13 v2/v3 boards with same image Change-Id: Ic09b8ec5c576f4c4c48ef30ee3f60a4c2c286cd3 Signed-off-by: Matt DeVillier <matt.devillier@puri.sm> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32515 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
parent
32f48a2d56
commit
6a4a026e13
|
@ -19,11 +19,8 @@ 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
|
||||
default "librem13v2" if BOARD_PURISM_LIBREM13_V2 || BOARD_PURISM_LIBREM13_V4
|
||||
default "librem15v3" if BOARD_PURISM_LIBREM15_V3 || BOARD_PURISM_LIBREM15_V4
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
|
@ -31,28 +28,16 @@ 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
|
||||
default "Librem 13" if BOARD_PURISM_LIBREM13_V2 || BOARD_PURISM_LIBREM13_V4
|
||||
default "Librem 15" if BOARD_PURISM_LIBREM15_V3 || BOARD_PURISM_LIBREM15_V4
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
config MAINBOARD_DIR
|
||||
string
|
||||
default "purism/librem_skl"
|
||||
|
@ -67,11 +52,8 @@ 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
|
||||
default "8086,1916" if BOARD_PURISM_LIBREM13_V2 || BOARD_PURISM_LIBREM15_V3
|
||||
default "8086,5916" if BOARD_PURISM_LIBREM13_V4 || BOARD_PURISM_LIBREM15_V4
|
||||
|
||||
config DIMM_MAX
|
||||
int
|
||||
|
@ -81,14 +63,6 @@ config DIMM_SPD_SIZE
|
|||
int
|
||||
default 512
|
||||
|
||||
config CPU_MICROCODE_CBFS_LEN
|
||||
hex
|
||||
default 0x18000
|
||||
|
||||
config CPU_MICROCODE_CBFS_LOC
|
||||
hex
|
||||
default 0xFFE115A0
|
||||
|
||||
config CBFS_SIZE
|
||||
hex
|
||||
default 0xe00000
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
config BOARD_PURISM_LIBREM13_V2
|
||||
bool "Librem 13 v2"
|
||||
select BOARD_PURISM_BASEBOARD_LIBREM_SKL
|
||||
|
||||
config BOARD_PURISM_LIBREM13_V3
|
||||
bool "Librem 13 v3"
|
||||
bool "Librem 13 v2/v3"
|
||||
select BOARD_PURISM_BASEBOARD_LIBREM_SKL
|
||||
|
||||
config BOARD_PURISM_LIBREM15_V3
|
||||
|
|
Loading…
Reference in New Issue