Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 1 | config BOARD_INTEL_BASEBOARD_GLKRVP |
| 2 | def_bool n |
Angel Pons | b36100f | 2020-09-07 13:18:10 +0200 | [diff] [blame] | 3 | select SOC_INTEL_GEMINILAKE |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 4 | select BOARD_ROMSIZE_KB_16384 |
| 5 | select DRIVERS_I2C_GENERIC |
Shaunak Saha | ced0864 | 2017-11-29 00:19:54 -0800 | [diff] [blame] | 6 | select DRIVERS_I2C_HID |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 7 | select HAVE_ACPI_RESUME |
| 8 | select HAVE_ACPI_TABLES |
Lijian Zhao | 64925b5 | 2019-01-11 07:54:48 -0800 | [diff] [blame] | 9 | select INTEL_LPSS_UART_FOR_CONSOLE |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 10 | select MAINBOARD_HAS_CHROMEOS |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 11 | select MEMORY_MAPPED_TPM |
Hannah Williams | 7427abc | 2017-06-20 14:31:44 -0700 | [diff] [blame] | 12 | select DRIVERS_GENERIC_MAX98357A |
| 13 | select DRIVERS_I2C_DA7219 |
Shaunak Saha | c96a4f6 | 2017-11-28 23:09:24 -0800 | [diff] [blame] | 14 | select SOC_ESPI |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 15 | |
Felix Singer | 3c03509 | 2023-05-08 20:00:07 +0200 | [diff] [blame^] | 16 | config BOARD_INTEL_GLKRVP |
| 17 | select BOARD_INTEL_BASEBOARD_GLKRVP |
| 18 | select BASEBOARD_GLKRVP_LAPTOP |
| 19 | |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 20 | if BOARD_INTEL_BASEBOARD_GLKRVP |
| 21 | |
| 22 | config BASEBOARD_GLKRVP_LAPTOP |
| 23 | def_bool n |
| 24 | select SYSTEM_TYPE_LAPTOP |
| 25 | |
Nico Huber | 845a96d | 2019-01-01 21:54:18 +0100 | [diff] [blame] | 26 | choice |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 27 | prompt "ON BOARD EC" |
| 28 | default GLK_CHROME_EC |
| 29 | help |
| 30 | This option allows you to select the on board EC to use. |
| 31 | Select whether the board has Intel EC or Chrome EC |
| 32 | |
| 33 | config GLK_CHROME_EC |
| 34 | bool "Chrome EC" |
| 35 | select EC_GOOGLE_CHROMEEC |
Martin Roth | dcf86e0 | 2019-08-29 12:32:53 -0600 | [diff] [blame] | 36 | select EC_GOOGLE_CHROMEEC_ESPI |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 37 | |
| 38 | config GLK_INTEL_EC |
| 39 | bool "Intel EC" |
| 40 | select EC_ACPI |
| 41 | endchoice |
| 42 | |
| 43 | config CHROMEOS |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 44 | select GBB_FLAG_DISABLE_EC_SOFTWARE_SYNC |
Naresh G Solanki | 7b1b246 | 2018-04-02 21:38:57 +0530 | [diff] [blame] | 45 | select VBOOT_LID_SWITCH if GLK_CHROME_EC |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 46 | |
Srinidhi N Kaushik | f9bd2c5 | 2018-01-02 15:54:44 -0800 | [diff] [blame] | 47 | config VBOOT |
| 48 | select HAS_RECOVERY_MRC_CACHE |
Naresh G Solanki | 7b1b246 | 2018-04-02 21:38:57 +0530 | [diff] [blame] | 49 | select EC_GOOGLE_CHROMEEC_SWITCHES if GLK_CHROME_EC |
Srinidhi N Kaushik | f9bd2c5 | 2018-01-02 15:54:44 -0800 | [diff] [blame] | 50 | |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 51 | config MAINBOARD_DIR |
Patrick Georgi | 0bb8346 | 2019-11-22 20:58:58 +0100 | [diff] [blame] | 52 | default "intel/glkrvp" |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 53 | |
| 54 | config VARIANT_DIR |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 55 | default "glkrvp" if BOARD_INTEL_GLKRVP |
| 56 | |
| 57 | config DEVICETREE |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 58 | default "variants/baseboard/devicetree.cb" |
| 59 | |
| 60 | config MAINBOARD_PART_NUMBER |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 61 | default "glkrvp" if BOARD_INTEL_GLKRVP |
| 62 | |
| 63 | config MAINBOARD_FAMILY |
| 64 | string |
| 65 | default "Intel_Glkrvp" if BOARD_INTEL_GLKRVP |
| 66 | |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 67 | config UART_FOR_CONSOLE |
| 68 | int |
| 69 | default 2 |
| 70 | |
| 71 | config INCLUDE_NHLT_BLOBS |
| 72 | bool "Include blobs for audio." |
Hannah Williams | 7427abc | 2017-06-20 14:31:44 -0700 | [diff] [blame] | 73 | select NHLT_DMIC_4CH_16B |
| 74 | select NHLT_DA7219 |
| 75 | select NHLT_MAX98357 |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 76 | |
| 77 | config IS_GLK_RVP_1 |
| 78 | bool "Is this RVP1?" |
| 79 | default n |
| 80 | |
Michael Niewöhner | 7736bfc | 2019-10-22 23:05:06 +0200 | [diff] [blame] | 81 | config SOC_INTEL_COMMON_BLOCK_SGX_ENABLE |
| 82 | bool |
| 83 | default y |
| 84 | |
Hannah Williams | d59f62b | 2017-05-05 16:39:21 -0700 | [diff] [blame] | 85 | endif # BOARD_INTEL_GLKRVP |