Martin Roth | 41a8997 | 2024-02-16 10:57:31 -0700 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Felix Singer | a61e781 | 2021-07-12 19:01:23 +0200 | [diff] [blame] | 3 | config BOARD_INTEL_JASPERLAKE_RVP_COMMON |
| 4 | def_bool n |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 5 | select BOARD_ROMSIZE_KB_16384 |
Maulik V Vaghela | d7564dc | 2020-03-20 15:44:46 +0530 | [diff] [blame] | 6 | select DRIVERS_I2C_DA7219 |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 7 | select DRIVERS_I2C_GENERIC |
Felix Singer | a61e781 | 2021-07-12 19:01:23 +0200 | [diff] [blame] | 8 | select DRIVERS_I2C_HID |
Maulik V Vaghela | d7564dc | 2020-03-20 15:44:46 +0530 | [diff] [blame] | 9 | select DRIVERS_I2C_MAX98373 |
Felix Singer | a61e781 | 2021-07-12 19:01:23 +0200 | [diff] [blame] | 10 | select DRIVERS_INTEL_DPTF |
Sugnan Prabhu S | 0170740 | 2020-05-27 08:15:57 +0530 | [diff] [blame] | 11 | select DRIVERS_INTEL_MIPI_CAMERA |
Kyösti Mälkki | e8f0915 | 2020-05-26 06:08:19 +0300 | [diff] [blame] | 12 | select DRIVERS_SPI_ACPI |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 13 | select DRIVERS_USB_ACPI |
| 14 | select EC_ACPI |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 15 | select HAVE_ACPI_RESUME |
| 16 | select HAVE_ACPI_TABLES |
Felix Singer | a61e781 | 2021-07-12 19:01:23 +0200 | [diff] [blame] | 17 | select HAVE_SPD_IN_CBFS |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 18 | select MAINBOARD_HAS_CHROMEOS |
Sumeet R Pawnikar | 4fb3a40 | 2020-08-31 18:41:15 +0530 | [diff] [blame] | 19 | select SOC_INTEL_COMMON_BLOCK_DTT |
Felix Singer | a61e781 | 2021-07-12 19:01:23 +0200 | [diff] [blame] | 20 | select SOC_INTEL_COMMON_BLOCK_IPU |
Krishna Prasad Bhat | 918073d | 2020-04-21 19:15:55 +0530 | [diff] [blame] | 21 | select SOC_INTEL_CSE_LITE_SKU |
Felix Singer | a61e781 | 2021-07-12 19:01:23 +0200 | [diff] [blame] | 22 | select SOC_INTEL_JASPERLAKE |
| 23 | |
| 24 | config BOARD_INTEL_JASPERLAKE_RVP |
| 25 | select BOARD_INTEL_JASPERLAKE_RVP_COMMON |
| 26 | select DRIVERS_UART_8250IO |
| 27 | select MAINBOARD_USES_IFD_EC_REGION |
| 28 | |
| 29 | config BOARD_INTEL_JASPERLAKE_RVP_EXT_EC |
| 30 | select BOARD_INTEL_JASPERLAKE_RVP_COMMON |
| 31 | select EC_GOOGLE_CHROMEEC |
| 32 | select EC_GOOGLE_CHROMEEC_LPC |
| 33 | select EC_GOOGLE_CHROMEEC_SWITCHES if VBOOT |
| 34 | select INTEL_LPSS_UART_FOR_CONSOLE |
| 35 | |
| 36 | if BOARD_INTEL_JASPERLAKE_RVP_COMMON |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 37 | |
Subrata Banik | f04e83a | 2022-01-03 19:00:00 +0000 | [diff] [blame] | 38 | config DISABLE_HECI1_AT_PRE_BOOT |
| 39 | default y |
| 40 | |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 41 | config MAINBOARD_DIR |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 42 | default "intel/jasperlake_rvp" |
| 43 | |
| 44 | config VARIANT_DIR |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 45 | default "jslrvp" if BOARD_INTEL_JASPERLAKE_RVP || BOARD_INTEL_JASPERLAKE_RVP_EXT_EC |
| 46 | |
| 47 | config MAINBOARD_PART_NUMBER |
Meera Ravindranath | 979c8c7 | 2020-04-01 16:04:39 +0530 | [diff] [blame] | 48 | default "jslrvp" |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 49 | |
| 50 | config MAINBOARD_FAMILY |
| 51 | string |
Meera Ravindranath | 979c8c7 | 2020-04-01 16:04:39 +0530 | [diff] [blame] | 52 | default "Intel_jslrvp" |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 53 | |
| 54 | config MAX_CPUS |
| 55 | int |
| 56 | default 8 |
| 57 | |
| 58 | config DEVICETREE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 59 | default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb" |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 60 | |
| 61 | config DIMM_SPD_SIZE |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 62 | default 512 |
| 63 | |
Maulik V Vaghela | 9ed5a36 | 2020-03-16 21:10:06 +0530 | [diff] [blame] | 64 | config CHROMEOS |
Maulik V Vaghela | 9ed5a36 | 2020-03-16 21:10:06 +0530 | [diff] [blame] | 65 | select GBB_FLAG_FORCE_DEV_SWITCH_ON |
| 66 | select GBB_FLAG_FORCE_DEV_BOOT_USB |
Joel Kitching | a904fd6 | 2021-02-19 18:10:58 +0800 | [diff] [blame] | 67 | select GBB_FLAG_FORCE_DEV_BOOT_ALTFW |
Maulik V Vaghela | 9ed5a36 | 2020-03-16 21:10:06 +0530 | [diff] [blame] | 68 | select GBB_FLAG_FORCE_MANUAL_RECOVERY |
| 69 | select GBB_FLAG_DISABLE_PD_SOFTWARE_SYNC |
| 70 | select HAS_RECOVERY_MRC_CACHE |
Maulik V Vaghela | 9ed5a36 | 2020-03-16 21:10:06 +0530 | [diff] [blame] | 71 | |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 72 | config VBOOT |
| 73 | select VBOOT_LID_SWITCH |
Maulik V Vaghela | 9ed5a36 | 2020-03-16 21:10:06 +0530 | [diff] [blame] | 74 | select VBOOT_MOCK_SECDATA if !MAINBOARD_HAS_TPM2 |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 75 | |
| 76 | config UART_FOR_CONSOLE |
| 77 | int |
Maulik V Vaghela | 9ed5a36 | 2020-03-16 21:10:06 +0530 | [diff] [blame] | 78 | default 2 if INTEL_LPSS_UART_FOR_CONSOLE |
| 79 | default 0 |
| 80 | |
Ronak Kanabar | d31c150 | 2020-04-14 18:00:04 +0530 | [diff] [blame] | 81 | config TPM_TIS_ACPI_INTERRUPT |
| 82 | int |
| 83 | default 45 # GPE0_DW1_13 (GPP_H13) |
Aamir Bohra | 630aa4b | 2019-12-06 19:19:19 +0530 | [diff] [blame] | 84 | endif |