summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/intel/jasperlake_rvp/Kconfig30
-rw-r--r--src/mainboard/intel/jasperlake_rvp/Kconfig.name6
2 files changed, 21 insertions, 15 deletions
diff --git a/src/mainboard/intel/jasperlake_rvp/Kconfig b/src/mainboard/intel/jasperlake_rvp/Kconfig
index 9409432eb5..a5b5c39fd4 100644
--- a/src/mainboard/intel/jasperlake_rvp/Kconfig
+++ b/src/mainboard/intel/jasperlake_rvp/Kconfig
@@ -1,25 +1,37 @@
-if BOARD_INTEL_JASPERLAKE_RVP || BOARD_INTEL_JASPERLAKE_RVP_EXT_EC
-
-config BOARD_SPECIFIC_OPTIONS
- def_bool y
+config BOARD_INTEL_JASPERLAKE_RVP_COMMON
+ def_bool n
select BOARD_ROMSIZE_KB_16384
select DRIVERS_I2C_DA7219
- select DRIVERS_I2C_HID
- select DRIVERS_INTEL_DPTF
select DRIVERS_I2C_GENERIC
+ select DRIVERS_I2C_HID
select DRIVERS_I2C_MAX98373
+ select DRIVERS_INTEL_DPTF
select DRIVERS_INTEL_MIPI_CAMERA
select DRIVERS_SPI_ACPI
select DRIVERS_USB_ACPI
select EC_ACPI
- select HAVE_SPD_IN_CBFS
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
+ select HAVE_SPD_IN_CBFS
select MAINBOARD_HAS_CHROMEOS
- select SOC_INTEL_COMMON_BLOCK_IPU
- select SOC_INTEL_JASPERLAKE
select SOC_INTEL_COMMON_BLOCK_DTT
+ select SOC_INTEL_COMMON_BLOCK_IPU
select SOC_INTEL_CSE_LITE_SKU
+ select SOC_INTEL_JASPERLAKE
+
+config BOARD_INTEL_JASPERLAKE_RVP
+ select BOARD_INTEL_JASPERLAKE_RVP_COMMON
+ select DRIVERS_UART_8250IO
+ select MAINBOARD_USES_IFD_EC_REGION
+
+config BOARD_INTEL_JASPERLAKE_RVP_EXT_EC
+ select BOARD_INTEL_JASPERLAKE_RVP_COMMON
+ select EC_GOOGLE_CHROMEEC
+ select EC_GOOGLE_CHROMEEC_LPC
+ select EC_GOOGLE_CHROMEEC_SWITCHES if VBOOT
+ select INTEL_LPSS_UART_FOR_CONSOLE
+
+if BOARD_INTEL_JASPERLAKE_RVP_COMMON
config MAINBOARD_DIR
default "intel/jasperlake_rvp"
diff --git a/src/mainboard/intel/jasperlake_rvp/Kconfig.name b/src/mainboard/intel/jasperlake_rvp/Kconfig.name
index 68419ac1f5..1a56f05485 100644
--- a/src/mainboard/intel/jasperlake_rvp/Kconfig.name
+++ b/src/mainboard/intel/jasperlake_rvp/Kconfig.name
@@ -1,11 +1,5 @@
config BOARD_INTEL_JASPERLAKE_RVP
bool "Jasperlake DDR4/LPDDR4 RVP"
- select DRIVERS_UART_8250IO
- select MAINBOARD_USES_IFD_EC_REGION
config BOARD_INTEL_JASPERLAKE_RVP_EXT_EC
bool "Jasperlake DDR4/LPDDR4 RVP with Chrome EC"
- select EC_GOOGLE_CHROMEEC
- select EC_GOOGLE_CHROMEEC_LPC
- select EC_GOOGLE_CHROMEEC_SWITCHES if VBOOT
- select INTEL_LPSS_UART_FOR_CONSOLE