mb/clevo/kbl-u: Rework Kconfig
Rework Kconfig file so that each variant has its own config option with their specific selects / configuration and move common selects to a seperate config option, which is used as base for each variant. Built clevo/n130wu with BUILD_TIMELESS=1, coreboot.rom remains the same. Change-Id: I1f07b5851ece6d0943faa9c90fc518805880a27d Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49060 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-by: Daniel Maslowski <info@orangecms.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
0ab6f0bd4c
commit
483c4fe5bc
|
@ -1,9 +1,7 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
if BOARD_CLEVO_N130WU
|
||||
|
||||
config BOARD_SPECIFIC_OPTIONS
|
||||
def_bool y
|
||||
config BOARD_CLEVO_KBLU_COMMON
|
||||
def_bool n
|
||||
select BOARD_ROMSIZE_KB_8192
|
||||
select EC_ACPI
|
||||
select HAVE_ACPI_RESUME
|
||||
|
@ -21,6 +19,12 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select SPD_READ_BY_WORD
|
||||
select SYSTEM_TYPE_LAPTOP
|
||||
|
||||
config BOARD_CLEVO_N130WU_OPTIONS
|
||||
bool
|
||||
select BOARD_CLEVO_KBLU_COMMON
|
||||
|
||||
if BOARD_CLEVO_KBLU_COMMON
|
||||
|
||||
config VBOOT
|
||||
select VBOOT_NO_BOARD_SUPPORT
|
||||
select GBB_FLAG_DISABLE_LID_SHUTDOWN
|
||||
|
|
|
@ -4,3 +4,4 @@ comment "Kaby Lake U"
|
|||
|
||||
config BOARD_CLEVO_N130WU
|
||||
bool "N130WU / N131WU"
|
||||
select BOARD_CLEVO_N130WU_OPTIONS
|
||||
|
|
Loading…
Reference in New Issue