summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/intel/kblrvp/Kconfig36
-rw-r--r--src/mainboard/intel/kblrvp/Kconfig.name3
2 files changed, 28 insertions, 11 deletions
diff --git a/src/mainboard/intel/kblrvp/Kconfig b/src/mainboard/intel/kblrvp/Kconfig
index 51f46ba1df..2abf8329f6 100644
--- a/src/mainboard/intel/kblrvp/Kconfig
+++ b/src/mainboard/intel/kblrvp/Kconfig
@@ -1,21 +1,35 @@
-if BOARD_INTEL_KBLRVP3 || BOARD_INTEL_KBLRVP7 || BOARD_INTEL_KBLRVP8 \
- || BOARD_INTEL_KBLRVP11
-
-config BOARD_SPECIFIC_OPTIONS
- def_bool y
+config BOARD_INTEL_KBLRVP_COMMON
+ def_bool n
select BOARD_ROMSIZE_KB_16384
select EC_ACPI
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select HAVE_OPTION_TABLE
- select SOC_INTEL_COMMON_BLOCK_HDA_VERB if !BOARD_INTEL_KBLRVP8
- select SOC_INTEL_KABYLAKE
- select SKYLAKE_SOC_PCH_H if BOARD_INTEL_KBLRVP8 || BOARD_INTEL_KBLRVP11
- select MAINBOARD_HAS_CHROMEOS
select HAVE_SPD_IN_CBFS
- select MAINBOARD_HAS_LPC_TPM
select INTEL_LPSS_UART_FOR_CONSOLE
- select MAINBOARD_USES_IFD_GBE_REGION if BOARD_INTEL_KBLRVP8
+ select MAINBOARD_HAS_CHROMEOS
+ select MAINBOARD_HAS_LPC_TPM
+ select SOC_INTEL_KABYLAKE
+
+config BOARD_INTEL_KBLRVP3
+ select BOARD_INTEL_KBLRVP_COMMON
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+
+config BOARD_INTEL_KBLRVP7
+ select BOARD_INTEL_KBLRVP_COMMON
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+
+config BOARD_INTEL_KBLRVP8
+ select BOARD_INTEL_KBLRVP_COMMON
+ select MAINBOARD_USES_IFD_GBE_REGION
+ select SKYLAKE_SOC_PCH_H
+
+config BOARD_INTEL_KBLRVP11
+ select BOARD_INTEL_KBLRVP_COMMON
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+ select SKYLAKE_SOC_PCH_H
+
+if BOARD_INTEL_KBLRVP_COMMON
config VBOOT
select VBOOT_LID_SWITCH
diff --git a/src/mainboard/intel/kblrvp/Kconfig.name b/src/mainboard/intel/kblrvp/Kconfig.name
index df65e32318..f9cc33d637 100644
--- a/src/mainboard/intel/kblrvp/Kconfig.name
+++ b/src/mainboard/intel/kblrvp/Kconfig.name
@@ -1,8 +1,11 @@
config BOARD_INTEL_KBLRVP3
bool "Kabylake LPDDR3 RVP3"
+
config BOARD_INTEL_KBLRVP7
bool "Kabylake DDR3L RVP7"
+
config BOARD_INTEL_KBLRVP8
bool "Kabylake DDR4 RVP8"
+
config BOARD_INTEL_KBLRVP11
bool "Kabylake DDR4 RVP11"