From d59f62bbdabeb98f12896c6af0ef50cbf25e013f Mon Sep 17 00:00:00 2001 From: Hannah Williams Date: Fri, 5 May 2017 16:39:21 -0700 Subject: mainboard/intel/glkrvp: Add support for GLKRVP GLKRVP is a reference board for GLK SOC RVP1 has DDR4 and RVP2 has LPDDR4 RVP2 is enabled by default and CONFIG_IS_GLK_RVP_1 should be selected if building for RVP1 GLKRVP can work with internal Intel EC or external Chrome EC AIC. For internal EC, CONFIG_EC_GOOGLE_CHROMEEC will not be selected ( CONFIG_GLK_INTEL_EC should be selected for internal EC config) By default, CONFIG_GLK_CHROME_EC is selected for external ChromeEC AIC config. Signed-off-by: Hannah Williams Change-Id: Iab688aca6a4f5c5e32801215ba3a1a440e50fbef Reviewed-on: https://review.coreboot.org/19604 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/intel/glkrvp/Kconfig | 83 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 src/mainboard/intel/glkrvp/Kconfig (limited to 'src/mainboard/intel/glkrvp/Kconfig') diff --git a/src/mainboard/intel/glkrvp/Kconfig b/src/mainboard/intel/glkrvp/Kconfig new file mode 100644 index 0000000000..782e85083a --- /dev/null +++ b/src/mainboard/intel/glkrvp/Kconfig @@ -0,0 +1,83 @@ + +config BOARD_INTEL_BASEBOARD_GLKRVP + def_bool n + select SOC_INTEL_GLK + select BOARD_ROMSIZE_KB_16384 + select DRIVERS_I2C_GENERIC + select DRIVERS_PS2_KEYBOARD + select HAVE_ACPI_RESUME + select HAVE_ACPI_TABLES + select MAINBOARD_HAS_CHROMEOS + select MAINBOARD_HAS_LPC_TPM + select MAINBOARD_HAS_TPM2 + +if BOARD_INTEL_BASEBOARD_GLKRVP + +config BASEBOARD_GLKRVP_LAPTOP + def_bool n + select SYSTEM_TYPE_LAPTOP + +choice GLK_EC + prompt "ON BOARD EC" + default GLK_CHROME_EC + help + This option allows you to select the on board EC to use. + Select whether the board has Intel EC or Chrome EC + +config GLK_CHROME_EC + bool "Chrome EC" + select EC_GOOGLE_CHROMEEC + select EC_GOOGLE_CHROMEEC_LPC + +config GLK_INTEL_EC + bool "Intel EC" + select EC_ACPI +endchoice + +config CHROMEOS + bool + default y + select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC + select VBOOT_LID_SWITCH + +config MAINBOARD_DIR + string + default intel/glkrvp + +config VARIANT_DIR + string + default "glkrvp" if BOARD_INTEL_GLKRVP + +config DEVICETREE + string + default "variants/baseboard/devicetree.cb" + +config MAINBOARD_PART_NUMBER + string + default "glkrvp" if BOARD_INTEL_GLKRVP + +config MAINBOARD_FAMILY + string + default "Intel_Glkrvp" if BOARD_INTEL_GLKRVP + +config GBB_HWID + string + depends on CHROMEOS + default "GLKRVP TEST A-A 6939" if BOARD_INTEL_GLKRVP + +config MAX_CPUS + int + default 4 + +config UART_FOR_CONSOLE + int + default 2 + +config INCLUDE_NHLT_BLOBS + bool "Include blobs for audio." + +config IS_GLK_RVP_1 + bool "Is this RVP1?" + default n + +endif # BOARD_INTEL_GLKRVP -- cgit v1.2.3