summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/glkrvp/Kconfig
diff options
context:
space:
mode:
authorHannah Williams <hannah.williams@intel.com>2017-05-05 16:39:21 -0700
committerAaron Durbin <adurbin@chromium.org>2017-07-26 20:31:24 +0000
commitd59f62bbdabeb98f12896c6af0ef50cbf25e013f (patch)
treeee22acd54dce71c326c019ee41f86c310f2b0df6 /src/mainboard/intel/glkrvp/Kconfig
parent50ab84fa370ac247dfe57a65f9d9b1ed0384e7fa (diff)
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 <hannah.williams@intel.com> Change-Id: Iab688aca6a4f5c5e32801215ba3a1a440e50fbef Reviewed-on: https://review.coreboot.org/19604 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/intel/glkrvp/Kconfig')
-rw-r--r--src/mainboard/intel/glkrvp/Kconfig83
1 files changed, 83 insertions, 0 deletions
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