Zhuohao Lee | c0308eb | 2021-07-16 20:29:27 +0800 | [diff] [blame] | 1 | config BOARD_GOOGLE_BRYA_COMMON |
Subrata Banik | e226aab | 2021-12-25 21:39:36 +0530 | [diff] [blame] | 2 | def_bool n |
Eric Lai | 312fb71 | 2021-08-18 15:47:20 +0800 | [diff] [blame] | 3 | select DRIVERS_GENERIC_ALC1015 |
David Wu | 6db243a | 2021-11-09 12:36:43 +0800 | [diff] [blame] | 4 | select DRIVERS_GENERIC_GPIO_KEYS |
Zhuohao Lee | c0308eb | 2021-07-16 20:29:27 +0800 | [diff] [blame] | 5 | select DRIVERS_GENERIC_MAX98357A |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 6 | select DRIVERS_I2C_GENERIC |
| 7 | select DRIVERS_I2C_HID |
Eric Lai | 312fb71 | 2021-08-18 15:47:20 +0800 | [diff] [blame] | 8 | select DRIVERS_I2C_NAU8825 |
Sumeet R Pawnikar | 0d37fcb | 2021-05-03 22:46:34 +0530 | [diff] [blame] | 9 | select DRIVERS_INTEL_DPTF |
Sumeet Pawnikar | 6df98f0 | 2021-08-23 23:33:33 +0530 | [diff] [blame] | 10 | select DRIVERS_INTEL_DPTF_SUPPORTS_TPCH |
Tim Wawrzynczak | ba2e51b | 2021-03-03 15:22:00 -0700 | [diff] [blame] | 11 | select DRIVERS_INTEL_PMC |
Sugnan Prabhu S | 3bfa1bd | 2021-05-12 11:44:47 +0530 | [diff] [blame] | 12 | select DRIVERS_INTEL_SOUNDWIRE |
Maulik V Vaghela | 9e23d01 | 2021-06-09 14:03:08 +0530 | [diff] [blame] | 13 | select DRIVERS_INTEL_USB4_RETIMER |
Sugnan Prabhu S | 3bfa1bd | 2021-05-12 11:44:47 +0530 | [diff] [blame] | 14 | select DRIVERS_SOUNDWIRE_ALC5682 |
| 15 | select DRIVERS_SOUNDWIRE_MAX98373 |
Felix Singer | 7b168c9 | 2021-12-25 01:45:44 +0100 | [diff] [blame] | 16 | select DRIVERS_SPI_ACPI |
Eric Lai | 2bec7f0 | 2020-12-21 17:28:31 +0800 | [diff] [blame] | 17 | select DRIVERS_WIFI_GENERIC |
Cliff Huang | 1ee6e4a | 2022-01-21 23:34:02 -0800 | [diff] [blame] | 18 | select DRIVERS_WWAN_FM350GL |
Eric Lai | 78b6a1b | 2020-11-27 14:11:59 +0800 | [diff] [blame] | 19 | select EC_GOOGLE_CHROMEEC |
Tim Wawrzynczak | 96771fa | 2021-03-05 16:41:25 -0700 | [diff] [blame] | 20 | select EC_GOOGLE_CHROMEEC_BOARDID |
Eric Lai | 78b6a1b | 2020-11-27 14:11:59 +0800 | [diff] [blame] | 21 | select EC_GOOGLE_CHROMEEC_ESPI |
Prashant Malani | 197d550 | 2022-05-02 21:24:36 +0000 | [diff] [blame] | 22 | select EC_GOOGLE_CHROMEEC_MUX |
Tim Wawrzynczak | 96771fa | 2021-03-05 16:41:25 -0700 | [diff] [blame] | 23 | select EC_GOOGLE_CHROMEEC_SKUID |
Tim Wawrzynczak | 1a9c627 | 2021-04-23 15:11:48 -0600 | [diff] [blame] | 24 | select FW_CONFIG |
| 25 | select FW_CONFIG_SOURCE_CHROMEEC_CBI |
Zhuohao Lee | ffec879 | 2021-04-29 16:31:25 +0800 | [diff] [blame] | 26 | select GOOGLE_SMBIOS_MAINBOARD_VERSION |
Eric Lai | bca5bdb | 2020-11-26 14:20:48 +0800 | [diff] [blame] | 27 | select HAVE_ACPI_RESUME |
Tim Wawrzynczak | f61011a | 2020-11-20 15:36:22 -0700 | [diff] [blame] | 28 | select HAVE_ACPI_TABLES |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 29 | select I2C_TPM |
Eric Lai | 812f364 | 2020-11-26 14:42:52 +0800 | [diff] [blame] | 30 | select INTEL_LPSS_UART_FOR_CONSOLE |
Eric Lai | b052c4b | 2020-11-27 13:50:02 +0800 | [diff] [blame] | 31 | select MAINBOARD_HAS_CHROMEOS |
Tim Wawrzynczak | ad21d6b | 2021-02-11 13:39:19 -0700 | [diff] [blame] | 32 | select MAINBOARD_HAS_TPM2 |
Felix Singer | 7b168c9 | 2021-12-25 01:45:44 +0100 | [diff] [blame] | 33 | select PMC_IPC_ACPI_INTERFACE |
Eric Lai | b1e8a8a | 2021-04-23 14:34:57 +0800 | [diff] [blame] | 34 | select SOC_INTEL_COMMON_BLOCK_PCIE_RTD3 |
Tim Wawrzynczak | 56415909 | 2021-04-13 11:10:05 -0600 | [diff] [blame] | 35 | select SOC_INTEL_CSE_LITE_SKU |
Eric Lai | a92589b | 2022-01-07 12:13:01 +0800 | [diff] [blame] | 36 | select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES if SOC_INTEL_ALDERLAKE_PCH_P |
Sridhar Siricilla | fad76f3 | 2022-01-26 00:28:10 +0530 | [diff] [blame] | 37 | select SOC_INTEL_COMMON_BASECODE_DEBUG_FEATURE |
Gaggery Tsai | ddfbeda | 2022-10-18 11:46:31 -0700 | [diff] [blame] | 38 | select SOC_INTEL_CRASHLOG |
Tim Wawrzynczak | f61011a | 2020-11-20 15:36:22 -0700 | [diff] [blame] | 39 | |
Subrata Banik | e226aab | 2021-12-25 21:39:36 +0530 | [diff] [blame] | 40 | config BOARD_GOOGLE_BASEBOARD_BRYA |
| 41 | def_bool n |
| 42 | select BOARD_GOOGLE_BRYA_COMMON |
Kangheui Won | c8c648f | 2022-05-27 15:45:03 +1000 | [diff] [blame] | 43 | select BOARD_ROMSIZE_KB_32768 |
Reka Norman | a69125c | 2022-01-25 10:07:42 +1100 | [diff] [blame] | 44 | select HAVE_SLP_S0_GATE |
Eric Lai | 85f691a | 2022-01-19 11:54:21 +0800 | [diff] [blame] | 45 | select MEMORY_SOLDERDOWN if !BOARD_GOOGLE_BANSHEE |
Subrata Banik | e226aab | 2021-12-25 21:39:36 +0530 | [diff] [blame] | 46 | select SOC_INTEL_ALDERLAKE_PCH_P |
Reka Norman | ec92914 | 2022-10-19 09:04:15 +1100 | [diff] [blame] | 47 | select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY |
Subrata Banik | e226aab | 2021-12-25 21:39:36 +0530 | [diff] [blame] | 48 | select SYSTEM_TYPE_LAPTOP |
Jes Klinke | 1430b04 | 2022-03-28 14:22:24 -0700 | [diff] [blame] | 49 | select TPM_GOOGLE_CR50 |
Subrata Banik | e226aab | 2021-12-25 21:39:36 +0530 | [diff] [blame] | 50 | |
| 51 | config BOARD_GOOGLE_BASEBOARD_BRASK |
| 52 | def_bool n |
| 53 | select BOARD_GOOGLE_BRYA_COMMON |
Kangheui Won | c8c648f | 2022-05-27 15:45:03 +1000 | [diff] [blame] | 54 | select BOARD_ROMSIZE_KB_32768 |
Subrata Banik | e226aab | 2021-12-25 21:39:36 +0530 | [diff] [blame] | 55 | select ENABLE_TCSS_DISPLAY_DETECTION if RUN_FSP_GOP |
Reka Norman | a69125c | 2022-01-25 10:07:42 +1100 | [diff] [blame] | 56 | select HAVE_SLP_S0_GATE |
Eric Lai | 47486b9 | 2022-01-19 12:42:56 +0800 | [diff] [blame] | 57 | select MEMORY_SODIMM |
Felix Singer | 7b168c9 | 2021-12-25 01:45:44 +0100 | [diff] [blame] | 58 | select RT8168_GEN_ACPI_POWER_RESOURCE |
Subrata Banik | e226aab | 2021-12-25 21:39:36 +0530 | [diff] [blame] | 59 | select RT8168_GET_MAC_FROM_VPD |
| 60 | select RT8168_SET_LED_MODE |
Subrata Banik | e226aab | 2021-12-25 21:39:36 +0530 | [diff] [blame] | 61 | select SOC_INTEL_ALDERLAKE_PCH_P |
Reka Norman | ec92914 | 2022-10-19 09:04:15 +1100 | [diff] [blame] | 62 | select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY |
Jes Klinke | 1430b04 | 2022-03-28 14:22:24 -0700 | [diff] [blame] | 63 | select TPM_GOOGLE_CR50 |
Subrata Banik | e226aab | 2021-12-25 21:39:36 +0530 | [diff] [blame] | 64 | |
Reka Norman | e7640cc | 2021-12-20 10:24:55 +1100 | [diff] [blame] | 65 | config BOARD_GOOGLE_BASEBOARD_NISSA |
| 66 | def_bool n |
| 67 | select BOARD_GOOGLE_BRYA_COMMON |
Kangheui Won | c8c648f | 2022-05-27 15:45:03 +1000 | [diff] [blame] | 68 | select BOARD_ROMSIZE_KB_16384 if !BOARD_ROMSIZE_KB_32768 |
Reka Norman | e7640cc | 2021-12-20 10:24:55 +1100 | [diff] [blame] | 69 | select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS |
Meera Ravindranath | ac08e8f | 2022-10-06 14:24:07 +0530 | [diff] [blame] | 70 | select DRIVERS_INTEL_ISH |
Reka Norman | 91fe94a | 2022-12-19 12:34:52 +1100 | [diff] [blame] | 71 | select MAINBOARD_DISABLE_STAGE_CACHE |
Reka Norman | 3c5da53 | 2022-01-28 16:52:13 +1100 | [diff] [blame] | 72 | select MEMORY_SOLDERDOWN |
Reka Norman | e7640cc | 2021-12-20 10:24:55 +1100 | [diff] [blame] | 73 | select SOC_INTEL_ALDERLAKE_PCH_N |
Krishna Prasad Bhat | dddcdc5 | 2022-03-03 22:39:15 +0530 | [diff] [blame] | 74 | select SOC_INTEL_CSE_LITE_COMPRESS_ME_RW |
Krishna Prasad Bhat | 7bc7117 | 2022-06-23 23:00:04 +0530 | [diff] [blame] | 75 | select SOC_INTEL_CSE_LITE_SYNC_IN_RAMSTAGE |
Reka Norman | e7640cc | 2021-12-20 10:24:55 +1100 | [diff] [blame] | 76 | select SYSTEM_TYPE_LAPTOP |
Jes Klinke | 1430b04 | 2022-03-28 14:22:24 -0700 | [diff] [blame] | 77 | select TPM_GOOGLE_TI50 |
Usha P | 0a3bbe8 | 2022-05-09 08:36:51 +0530 | [diff] [blame] | 78 | select SOC_INTEL_COMMON_MMC_OVERRIDE |
Reka Norman | e7640cc | 2021-12-20 10:24:55 +1100 | [diff] [blame] | 79 | |
Nick Vaccaro | 4c8f778 | 2022-04-27 11:35:18 -0700 | [diff] [blame] | 80 | config BOARD_GOOGLE_BASEBOARD_SKOLAS |
| 81 | def_bool n |
| 82 | select BOARD_GOOGLE_BRYA_COMMON |
Nick Vaccaro | 72b8462 | 2022-07-14 11:00:16 -0700 | [diff] [blame] | 83 | select BOARD_ROMSIZE_KB_32768 |
Nick Vaccaro | 4c8f778 | 2022-04-27 11:35:18 -0700 | [diff] [blame] | 84 | select HAVE_SLP_S0_GATE |
| 85 | select MEMORY_SOLDERDOWN if !BOARD_GOOGLE_BANSHEE |
| 86 | select SOC_INTEL_ALDERLAKE_PCH_P |
Reka Norman | ec92914 | 2022-10-19 09:04:15 +1100 | [diff] [blame] | 87 | select SOC_INTEL_CSE_PRE_CPU_RESET_TELEMETRY |
Nick Vaccaro | 72b8462 | 2022-07-14 11:00:16 -0700 | [diff] [blame] | 88 | select SOC_INTEL_RAPTORLAKE |
Nick Vaccaro | 4c8f778 | 2022-04-27 11:35:18 -0700 | [diff] [blame] | 89 | select SYSTEM_TYPE_LAPTOP |
| 90 | select TPM_GOOGLE_CR50 |
| 91 | |
Subrata Banik | e226aab | 2021-12-25 21:39:36 +0530 | [diff] [blame] | 92 | if BOARD_GOOGLE_BRYA_COMMON |
| 93 | |
Zhuohao Lee | 4a198b5 | 2021-07-16 18:58:53 +0800 | [diff] [blame] | 94 | config BASEBOARD_DIR |
| 95 | string |
| 96 | default "brya" if BOARD_GOOGLE_BASEBOARD_BRYA |
Zhuohao Lee | c0308eb | 2021-07-16 20:29:27 +0800 | [diff] [blame] | 97 | default "brask" if BOARD_GOOGLE_BASEBOARD_BRASK |
Reka Norman | e7640cc | 2021-12-20 10:24:55 +1100 | [diff] [blame] | 98 | default "nissa" if BOARD_GOOGLE_BASEBOARD_NISSA |
Nick Vaccaro | 4c8f778 | 2022-04-27 11:35:18 -0700 | [diff] [blame] | 99 | default "skolas" if BOARD_GOOGLE_BASEBOARD_SKOLAS |
Zhuohao Lee | 4a198b5 | 2021-07-16 18:58:53 +0800 | [diff] [blame] | 100 | |
Eric Lai | b052c4b | 2020-11-27 13:50:02 +0800 | [diff] [blame] | 101 | config CHROMEOS |
Eric Lai | 78b6a1b | 2020-11-27 14:11:59 +0800 | [diff] [blame] | 102 | select EC_GOOGLE_CHROMEEC_SWITCHES |
Eric Lai | dcb14c6 | 2021-02-25 11:58:58 +0800 | [diff] [blame] | 103 | select HAS_RECOVERY_MRC_CACHE |
Eric Lai | b052c4b | 2020-11-27 13:50:02 +0800 | [diff] [blame] | 104 | |
Wisley Chen | 99204bb | 2021-09-16 17:09:52 +0600 | [diff] [blame] | 105 | config CHROMEOS_WIFI_SAR |
Jon Murphy | c4e9045 | 2022-06-28 10:36:23 -0600 | [diff] [blame] | 106 | bool "Enable SAR options for ChromeOS build" |
Wisley Chen | 99204bb | 2021-09-16 17:09:52 +0600 | [diff] [blame] | 107 | depends on CHROMEOS |
| 108 | select DSAR_ENABLE |
| 109 | select GEO_SAR_ENABLE |
| 110 | select SAR_ENABLE |
| 111 | select USE_SAR |
| 112 | |
Tim Wawrzynczak | f61011a | 2020-11-20 15:36:22 -0700 | [diff] [blame] | 113 | config DEVICETREE |
Zhuohao Lee | 4a198b5 | 2021-07-16 18:58:53 +0800 | [diff] [blame] | 114 | default "variants/baseboard/\$(CONFIG_BASEBOARD_DIR)/devicetree.cb" |
Tim Wawrzynczak | f61011a | 2020-11-20 15:36:22 -0700 | [diff] [blame] | 115 | |
Tim Wawrzynczak | ad21d6b | 2021-02-11 13:39:19 -0700 | [diff] [blame] | 116 | config DRIVER_TPM_I2C_BUS |
| 117 | hex |
Amanda Huang | 0c96291 | 2022-04-19 17:21:17 +0800 | [diff] [blame] | 118 | default 0x1 if BOARD_GOOGLE_BRYA0 |
Zhuohao Lee | e2192e6 | 2021-12-29 15:17:41 +0800 | [diff] [blame] | 119 | default 0x1 if BOARD_GOOGLE_BRASK |
Malik_Hsu | ac812ed | 2021-12-03 09:44:36 +0800 | [diff] [blame] | 120 | default 0x1 if BOARD_GOOGLE_PRIMUS |
| 121 | default 0x3 if BOARD_GOOGLE_PRIMUS4ES |
Mark Hsieh | 4457768 | 2021-11-23 22:54:01 +0800 | [diff] [blame] | 122 | default 0x1 if BOARD_GOOGLE_GIMBLE |
| 123 | default 0x3 if BOARD_GOOGLE_GIMBLE4ES |
Wisley Chen | 7676fea | 2021-12-03 16:25:06 +0600 | [diff] [blame] | 124 | default 0x1 if BOARD_GOOGLE_REDRIX |
| 125 | default 0x3 if BOARD_GOOGLE_REDRIX4ES |
David Wu | 02cef7a | 2021-11-23 11:26:44 +0800 | [diff] [blame] | 126 | default 0x1 if BOARD_GOOGLE_KANO |
Kevin Chang | 8550fbc | 2021-12-24 10:28:59 +0800 | [diff] [blame] | 127 | default 0x1 if BOARD_GOOGLE_TAEKO |
YH Lin | 3f5f1b5 | 2021-12-02 13:49:30 -0800 | [diff] [blame] | 128 | default 0x3 if BOARD_GOOGLE_TAEKO4ES |
Eric Lai | cca657f | 2021-12-01 17:00:27 +0800 | [diff] [blame] | 129 | default 0x1 if BOARD_GOOGLE_FELWINTER |
Wisley Chen | 060e89f | 2021-12-29 07:52:21 +0600 | [diff] [blame] | 130 | default 0x1 if BOARD_GOOGLE_ANAHERA |
YH Lin | 3f5f1b5 | 2021-12-02 13:49:30 -0800 | [diff] [blame] | 131 | default 0x3 if BOARD_GOOGLE_ANAHERA4ES |
Shon Wang | 138f547 | 2021-12-14 20:41:48 +0800 | [diff] [blame] | 132 | default 0x1 if BOARD_GOOGLE_VELL |
Joey Peng | 51ede8a | 2022-01-18 15:22:05 +0800 | [diff] [blame] | 133 | default 0x1 if BOARD_GOOGLE_TANIKS |
Reka Norman | e7640cc | 2021-12-20 10:24:55 +1100 | [diff] [blame] | 134 | default 0x0 if BOARD_GOOGLE_NIVVIKS |
| 135 | default 0x0 if BOARD_GOOGLE_NEREID |
Tony Huang | 642bcbf | 2022-01-05 16:47:22 +0800 | [diff] [blame] | 136 | default 0x3 if BOARD_GOOGLE_AGAH |
David Wu | d2bba5c | 2022-01-05 00:22:07 +0800 | [diff] [blame] | 137 | default 0x1 if BOARD_GOOGLE_VOLMAR |
Ivy Jian | dd68649 | 2022-01-22 11:55:10 +0800 | [diff] [blame] | 138 | default 0x1 if BOARD_GOOGLE_BANSHEE |
Dtrain Hsu | e8c160e | 2022-02-10 10:32:27 +0800 | [diff] [blame] | 139 | default 0x1 if BOARD_GOOGLE_KINOX |
Tyler Wang | f478b1f | 2022-03-31 13:57:17 +0800 | [diff] [blame] | 140 | default 0x0 if BOARD_GOOGLE_CRAASK |
Terry Chen | 212f86b | 2022-04-14 10:28:44 +0800 | [diff] [blame] | 141 | default 0x1 if BOARD_GOOGLE_CROTA |
Raihow Shi | 4d4a245 | 2022-04-14 18:16:10 +0800 | [diff] [blame] | 142 | default 0x1 if BOARD_GOOGLE_MOLI |
David Wu | eb327cb | 2022-04-15 16:11:51 +0800 | [diff] [blame] | 143 | default 0x1 if BOARD_GOOGLE_OSIRIS |
John Su | af092ac | 2022-05-13 17:06:42 +0800 | [diff] [blame] | 144 | default 0x1 if BOARD_GOOGLE_MITHRAX |
David Wu | b844e6d | 2022-05-21 17:02:10 +0800 | [diff] [blame] | 145 | default 0x1 if BOARD_GOOGLE_KULDAX |
Nick Vaccaro | 6afd727 | 2022-08-17 12:55:24 -0700 | [diff] [blame] | 146 | default 0x1 if BOARD_GOOGLE_SKOLAS |
Nick Vaccaro | b0c6865 | 2022-06-28 15:49:28 -0700 | [diff] [blame] | 147 | default 0x1 if BOARD_GOOGLE_SKOLAS4ES |
Mark Hsieh | 24f7554 | 2022-06-15 17:50:22 +0800 | [diff] [blame] | 148 | default 0x0 if BOARD_GOOGLE_JOXER |
Stanley Wu | 8e36104 | 2022-06-08 15:56:23 +0800 | [diff] [blame] | 149 | default 0x0 if BOARD_GOOGLE_PUJJO |
Ian Feng | d234b07 | 2022-06-20 09:26:49 +0800 | [diff] [blame] | 150 | default 0x0 if BOARD_GOOGLE_XIVU |
Wisley Chen | d53c478 | 2022-08-12 16:11:57 +0600 | [diff] [blame] | 151 | default 0x0 if BOARD_GOOGLE_YAVIKS |
David Wu | 91fb8ca | 2022-10-05 15:33:27 +0800 | [diff] [blame] | 152 | default 0x1 if BOARD_GOOGLE_ZYDRON |
Kevin Chiu | 8f585ce | 2022-10-26 16:15:27 +0800 | [diff] [blame] | 153 | default 0x1 if BOARD_GOOGLE_LISBON |
Kevin Chiu | 88cf831 | 2022-11-10 11:50:44 +0800 | [diff] [blame] | 154 | default 0x1 if BOARD_GOOGLE_GLADIOS |
Frank Chu | f2e2dc8 | 2022-11-08 15:50:26 +0800 | [diff] [blame] | 155 | default 0x1 if BOARD_GOOGLE_MARASOV |
Mike Shih | 644b0f5 | 2022-12-14 16:02:50 +0800 | [diff] [blame] | 156 | default 0x1 if BOARD_GOOGLE_GAELIN |
jamie_chen | 780f99b | 2023-01-05 17:18:29 +0800 | [diff] [blame] | 157 | default 0x1 if BOARD_GOOGLE_OMNIGUL |
Tim Wawrzynczak | ad21d6b | 2021-02-11 13:39:19 -0700 | [diff] [blame] | 158 | |
| 159 | config DRIVER_TPM_I2C_ADDR |
| 160 | hex |
| 161 | default 0x50 |
| 162 | |
Tracy Wu | cae27eb | 2022-02-09 10:34:12 +0800 | [diff] [blame] | 163 | config FMDFILE |
Matt DeVillier | 6cb3019 | 2022-10-15 12:02:49 -0500 | [diff] [blame] | 164 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-serger.fmd" if CHROMEOS && BOARD_GOOGLE_BRASK |
| 165 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-nissa-16MiB-debugfsp.fmd" if CHROMEOS && BOARD_GOOGLE_BASEBOARD_NISSA && BOARD_ROMSIZE_KB_16384 && BUILDING_WITH_DEBUG_FSP |
| 166 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-nissa-16MiB.fmd" if CHROMEOS && BOARD_GOOGLE_BASEBOARD_NISSA && BOARD_ROMSIZE_KB_16384 |
| 167 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos-nissa-32MiB.fmd" if CHROMEOS && BOARD_GOOGLE_BASEBOARD_NISSA && BOARD_ROMSIZE_KB_32768 |
| 168 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" if CHROMEOS |
Tracy Wu | cae27eb | 2022-02-09 10:34:12 +0800 | [diff] [blame] | 169 | |
Tim Wawrzynczak | ad21d6b | 2021-02-11 13:39:19 -0700 | [diff] [blame] | 170 | config TPM_TIS_ACPI_INTERRUPT |
| 171 | int |
| 172 | default 13 # GPE0_DW0_13 (GPP_A13_IRQ) |
| 173 | |
Eric Lai | a0f68cd | 2021-01-26 13:30:36 +0800 | [diff] [blame] | 174 | config OVERRIDE_DEVICETREE |
Eric Lai | a0f68cd | 2021-01-26 13:30:36 +0800 | [diff] [blame] | 175 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 176 | |
Tim Wawrzynczak | f61011a | 2020-11-20 15:36:22 -0700 | [diff] [blame] | 177 | config MAINBOARD_DIR |
Tim Wawrzynczak | f61011a | 2020-11-20 15:36:22 -0700 | [diff] [blame] | 178 | default "google/brya" |
| 179 | |
| 180 | config MAINBOARD_FAMILY |
| 181 | string |
Zhuohao Lee | 4a198b5 | 2021-07-16 18:58:53 +0800 | [diff] [blame] | 182 | default "Google_Brya" if BOARD_GOOGLE_BASEBOARD_BRYA |
Zhuohao Lee | c0308eb | 2021-07-16 20:29:27 +0800 | [diff] [blame] | 183 | default "Google_Brask" if BOARD_GOOGLE_BASEBOARD_BRASK |
Reka Norman | e7640cc | 2021-12-20 10:24:55 +1100 | [diff] [blame] | 184 | default "Google_Nissa" if BOARD_GOOGLE_BASEBOARD_NISSA |
Nick Vaccaro | 4c8f778 | 2022-04-27 11:35:18 -0700 | [diff] [blame] | 185 | default "Google_Skolas" if BOARD_GOOGLE_BASEBOARD_SKOLAS |
Tim Wawrzynczak | f61011a | 2020-11-20 15:36:22 -0700 | [diff] [blame] | 186 | |
| 187 | config MAINBOARD_PART_NUMBER |
Furquan Shaikh | a742681 | 2021-03-05 09:03:53 -0800 | [diff] [blame] | 188 | default "Brya" if BOARD_GOOGLE_BRYA0 |
Zhuohao Lee | c0308eb | 2021-07-16 20:29:27 +0800 | [diff] [blame] | 189 | default "Brask" if BOARD_GOOGLE_BRASK |
Scott Chao | 30cb92b | 2021-05-26 08:13:04 +0800 | [diff] [blame] | 190 | default "Primus" if BOARD_GOOGLE_PRIMUS |
YH Lin | 6ba7bee | 2021-11-29 09:44:01 -0800 | [diff] [blame] | 191 | default "Primus4ES" if BOARD_GOOGLE_PRIMUS4ES |
Mark Hsieh | 352042f | 2021-06-08 09:12:15 +0800 | [diff] [blame] | 192 | default "Gimble" if BOARD_GOOGLE_GIMBLE |
YH Lin | 6ba7bee | 2021-11-29 09:44:01 -0800 | [diff] [blame] | 193 | default "Gimble4ES" if BOARD_GOOGLE_GIMBLE4ES |
Wisley Chen | 61cef57 | 2021-06-25 14:36:01 +0600 | [diff] [blame] | 194 | default "Redrix" if BOARD_GOOGLE_REDRIX |
YH Lin | 6ba7bee | 2021-11-29 09:44:01 -0800 | [diff] [blame] | 195 | default "Redrix4ES" if BOARD_GOOGLE_REDRIX4ES |
David Wu | 07375cb | 2021-07-08 10:58:00 +0800 | [diff] [blame] | 196 | default "Kano" if BOARD_GOOGLE_KANO |
Kevin Chang | 819afd8 | 2021-07-16 19:37:06 +0800 | [diff] [blame] | 197 | default "Taeko" if BOARD_GOOGLE_TAEKO |
YH Lin | 6ba7bee | 2021-11-29 09:44:01 -0800 | [diff] [blame] | 198 | default "Taeko4ES" if BOARD_GOOGLE_TAEKO4ES |
Ian Feng | 583a546 | 2021-08-03 14:50:40 +0800 | [diff] [blame] | 199 | default "Felwinter" if BOARD_GOOGLE_FELWINTER |
Wisley Chen | 20b2d8a | 2021-08-27 01:01:26 +0600 | [diff] [blame] | 200 | default "Anahera" if BOARD_GOOGLE_ANAHERA |
YH Lin | 6ba7bee | 2021-11-29 09:44:01 -0800 | [diff] [blame] | 201 | default "Anahera4ES" if BOARD_GOOGLE_ANAHERA4ES |
Shon Wang | b8f0539 | 2021-11-12 14:10:31 +0800 | [diff] [blame] | 202 | default "Vell" if BOARD_GOOGLE_VELL |
Joey Peng | 900758b | 2021-11-25 11:45:06 +0800 | [diff] [blame] | 203 | default "Taniks" if BOARD_GOOGLE_TANIKS |
Reka Norman | e7640cc | 2021-12-20 10:24:55 +1100 | [diff] [blame] | 204 | default "Nivviks" if BOARD_GOOGLE_NIVVIKS |
| 205 | default "Nereid" if BOARD_GOOGLE_NEREID |
Tony Huang | 642bcbf | 2022-01-05 16:47:22 +0800 | [diff] [blame] | 206 | default "Agah" if BOARD_GOOGLE_AGAH |
David Wu | d2bba5c | 2022-01-05 00:22:07 +0800 | [diff] [blame] | 207 | default "Volmar" if BOARD_GOOGLE_VOLMAR |
Ivy Jian | 1c5cc56 | 2022-01-18 14:55:56 +0800 | [diff] [blame] | 208 | default "Banshee" if BOARD_GOOGLE_BANSHEE |
Terry Chen | 5e8ecf5 | 2022-01-27 10:29:04 +0800 | [diff] [blame] | 209 | default "Crota" if BOARD_GOOGLE_CROTA |
Raihow Shi | 47318c9 | 2022-02-09 19:42:12 +0800 | [diff] [blame] | 210 | default "Moli" if BOARD_GOOGLE_MOLI |
Dtrain Hsu | e8c160e | 2022-02-10 10:32:27 +0800 | [diff] [blame] | 211 | default "Kinox" if BOARD_GOOGLE_KINOX |
Tyler Wang | f478b1f | 2022-03-31 13:57:17 +0800 | [diff] [blame] | 212 | default "Craask" if BOARD_GOOGLE_CRAASK |
David Wu | eb327cb | 2022-04-15 16:11:51 +0800 | [diff] [blame] | 213 | default "Osiris" if BOARD_GOOGLE_OSIRIS |
John Su | 8ef9187 | 2022-04-21 15:53:10 +0800 | [diff] [blame] | 214 | default "Mithrax" if BOARD_GOOGLE_MITHRAX |
David Wu | b844e6d | 2022-05-21 17:02:10 +0800 | [diff] [blame] | 215 | default "Kuldax" if BOARD_GOOGLE_KULDAX |
Nick Vaccaro | 6afd727 | 2022-08-17 12:55:24 -0700 | [diff] [blame] | 216 | default "Skolas" if BOARD_GOOGLE_SKOLAS |
Nick Vaccaro | 4c8f778 | 2022-04-27 11:35:18 -0700 | [diff] [blame] | 217 | default "Skolas4ES" if BOARD_GOOGLE_SKOLAS4ES |
Mark Hsieh | 24f7554 | 2022-06-15 17:50:22 +0800 | [diff] [blame] | 218 | default "Joxer" if BOARD_GOOGLE_JOXER |
Stanley Wu | 8e36104 | 2022-06-08 15:56:23 +0800 | [diff] [blame] | 219 | default "Pujjo" if BOARD_GOOGLE_PUJJO |
Ian Feng | d234b07 | 2022-06-20 09:26:49 +0800 | [diff] [blame] | 220 | default "Xivu" if BOARD_GOOGLE_XIVU |
Mike Shih | 644b0f5 | 2022-12-14 16:02:50 +0800 | [diff] [blame] | 221 | default "Gaelin" if BOARD_GOOGLE_GAELIN |
Wisley Chen | d53c478 | 2022-08-12 16:11:57 +0600 | [diff] [blame] | 222 | default "Yaviks" if BOARD_GOOGLE_YAVIKS |
Kevin Chiu | 5b4a914f | 2022-09-27 16:14:39 +0800 | [diff] [blame] | 223 | default "Lisbon" if BOARD_GOOGLE_LISBON |
David Wu | 91fb8ca | 2022-10-05 15:33:27 +0800 | [diff] [blame] | 224 | default "Zydron" if BOARD_GOOGLE_ZYDRON |
Kevin Chiu | 5216314 | 2022-10-19 20:14:06 +0800 | [diff] [blame] | 225 | default "Gladios" if BOARD_GOOGLE_GLADIOS |
Frank Chu | 502dc54 | 2022-11-01 11:35:06 +0800 | [diff] [blame] | 226 | default "Marasov" if BOARD_GOOGLE_MARASOV |
jamie_chen | 314ace1 | 2023-01-03 14:29:17 +0800 | [diff] [blame] | 227 | default "Omnigul" if BOARD_GOOGLE_OMNIGUL |
Tim Wawrzynczak | f61011a | 2020-11-20 15:36:22 -0700 | [diff] [blame] | 228 | |
Eric Lai | 5e053af | 2020-11-26 12:58:10 +0800 | [diff] [blame] | 229 | config VARIANT_DIR |
Eric Lai | 5e053af | 2020-11-26 12:58:10 +0800 | [diff] [blame] | 230 | default "brya0" if BOARD_GOOGLE_BRYA0 |
Zhuohao Lee | c0308eb | 2021-07-16 20:29:27 +0800 | [diff] [blame] | 231 | default "brask" if BOARD_GOOGLE_BRASK |
Scott Chao | 30cb92b | 2021-05-26 08:13:04 +0800 | [diff] [blame] | 232 | default "primus" if BOARD_GOOGLE_PRIMUS |
YH Lin | 6ba7bee | 2021-11-29 09:44:01 -0800 | [diff] [blame] | 233 | default "primus4es" if BOARD_GOOGLE_PRIMUS4ES |
Mark Hsieh | 352042f | 2021-06-08 09:12:15 +0800 | [diff] [blame] | 234 | default "gimble" if BOARD_GOOGLE_GIMBLE |
YH Lin | 6ba7bee | 2021-11-29 09:44:01 -0800 | [diff] [blame] | 235 | default "gimble4es" if BOARD_GOOGLE_GIMBLE4ES |
Wisley Chen | 61cef57 | 2021-06-25 14:36:01 +0600 | [diff] [blame] | 236 | default "redrix" if BOARD_GOOGLE_REDRIX |
YH Lin | 6ba7bee | 2021-11-29 09:44:01 -0800 | [diff] [blame] | 237 | default "redrix4es" if BOARD_GOOGLE_REDRIX4ES |
David Wu | 07375cb | 2021-07-08 10:58:00 +0800 | [diff] [blame] | 238 | default "kano" if BOARD_GOOGLE_KANO |
Kevin Chang | 819afd8 | 2021-07-16 19:37:06 +0800 | [diff] [blame] | 239 | default "taeko" if BOARD_GOOGLE_TAEKO |
YH Lin | 6ba7bee | 2021-11-29 09:44:01 -0800 | [diff] [blame] | 240 | default "taeko4es" if BOARD_GOOGLE_TAEKO4ES |
Ian Feng | 583a546 | 2021-08-03 14:50:40 +0800 | [diff] [blame] | 241 | default "felwinter" if BOARD_GOOGLE_FELWINTER |
Wisley Chen | 20b2d8a | 2021-08-27 01:01:26 +0600 | [diff] [blame] | 242 | default "anahera" if BOARD_GOOGLE_ANAHERA |
YH Lin | 6ba7bee | 2021-11-29 09:44:01 -0800 | [diff] [blame] | 243 | default "anahera4es" if BOARD_GOOGLE_ANAHERA4ES |
Shon Wang | b8f0539 | 2021-11-12 14:10:31 +0800 | [diff] [blame] | 244 | default "vell" if BOARD_GOOGLE_VELL |
Joey Peng | 900758b | 2021-11-25 11:45:06 +0800 | [diff] [blame] | 245 | default "taniks" if BOARD_GOOGLE_TANIKS |
Reka Norman | e7640cc | 2021-12-20 10:24:55 +1100 | [diff] [blame] | 246 | default "nivviks" if BOARD_GOOGLE_NIVVIKS |
| 247 | default "nereid" if BOARD_GOOGLE_NEREID |
Tony Huang | 642bcbf | 2022-01-05 16:47:22 +0800 | [diff] [blame] | 248 | default "agah" if BOARD_GOOGLE_AGAH |
David Wu | d2bba5c | 2022-01-05 00:22:07 +0800 | [diff] [blame] | 249 | default "volmar" if BOARD_GOOGLE_VOLMAR |
Ivy Jian | 1c5cc56 | 2022-01-18 14:55:56 +0800 | [diff] [blame] | 250 | default "banshee" if BOARD_GOOGLE_BANSHEE |
Terry Chen | 5e8ecf5 | 2022-01-27 10:29:04 +0800 | [diff] [blame] | 251 | default "crota" if BOARD_GOOGLE_CROTA |
Raihow Shi | 47318c9 | 2022-02-09 19:42:12 +0800 | [diff] [blame] | 252 | default "moli" if BOARD_GOOGLE_MOLI |
Dtrain Hsu | e8c160e | 2022-02-10 10:32:27 +0800 | [diff] [blame] | 253 | default "kinox" if BOARD_GOOGLE_KINOX |
Tyler Wang | f478b1f | 2022-03-31 13:57:17 +0800 | [diff] [blame] | 254 | default "craask" if BOARD_GOOGLE_CRAASK |
David Wu | eb327cb | 2022-04-15 16:11:51 +0800 | [diff] [blame] | 255 | default "osiris" if BOARD_GOOGLE_OSIRIS |
John Su | 8ef9187 | 2022-04-21 15:53:10 +0800 | [diff] [blame] | 256 | default "mithrax" if BOARD_GOOGLE_MITHRAX |
David Wu | b844e6d | 2022-05-21 17:02:10 +0800 | [diff] [blame] | 257 | default "kuldax" if BOARD_GOOGLE_KULDAX |
Nick Vaccaro | 6afd727 | 2022-08-17 12:55:24 -0700 | [diff] [blame] | 258 | default "skolas" if BOARD_GOOGLE_SKOLAS |
Nick Vaccaro | 4c8f778 | 2022-04-27 11:35:18 -0700 | [diff] [blame] | 259 | default "skolas4es" if BOARD_GOOGLE_SKOLAS4ES |
Mark Hsieh | 24f7554 | 2022-06-15 17:50:22 +0800 | [diff] [blame] | 260 | default "joxer" if BOARD_GOOGLE_JOXER |
Stanley Wu | 8e36104 | 2022-06-08 15:56:23 +0800 | [diff] [blame] | 261 | default "pujjo" if BOARD_GOOGLE_PUJJO |
Ian Feng | d234b07 | 2022-06-20 09:26:49 +0800 | [diff] [blame] | 262 | default "xivu" if BOARD_GOOGLE_XIVU |
Mike Shih | 644b0f5 | 2022-12-14 16:02:50 +0800 | [diff] [blame] | 263 | default "gaelin" if BOARD_GOOGLE_GAELIN |
Wisley Chen | d53c478 | 2022-08-12 16:11:57 +0600 | [diff] [blame] | 264 | default "yaviks" if BOARD_GOOGLE_YAVIKS |
Kevin Chiu | 5b4a914f | 2022-09-27 16:14:39 +0800 | [diff] [blame] | 265 | default "lisbon" if BOARD_GOOGLE_LISBON |
David Wu | 91fb8ca | 2022-10-05 15:33:27 +0800 | [diff] [blame] | 266 | default "zydron" if BOARD_GOOGLE_ZYDRON |
Kevin Chiu | 5216314 | 2022-10-19 20:14:06 +0800 | [diff] [blame] | 267 | default "gladios" if BOARD_GOOGLE_GLADIOS |
Frank Chu | 502dc54 | 2022-11-01 11:35:06 +0800 | [diff] [blame] | 268 | default "marasov" if BOARD_GOOGLE_MARASOV |
jamie_chen | 314ace1 | 2023-01-03 14:29:17 +0800 | [diff] [blame] | 269 | default "omnigul" if BOARD_GOOGLE_OMNIGUL |
Eric Lai | 5e053af | 2020-11-26 12:58:10 +0800 | [diff] [blame] | 270 | |
Boris Mittelberg | 5c3d12e | 2021-11-12 17:15:38 -0800 | [diff] [blame] | 271 | config VBOOT |
Peter Marheine | c814fa5 | 2022-04-20 14:30:11 +1000 | [diff] [blame] | 272 | select VBOOT_EARLY_EC_SYNC if !BOARD_GOOGLE_BASEBOARD_NISSA |
Boris Mittelberg | 5c3d12e | 2021-11-12 17:15:38 -0800 | [diff] [blame] | 273 | select VBOOT_LID_SWITCH |
| 274 | |
Julius Werner | 5eda52a | 2022-05-19 14:37:21 -0700 | [diff] [blame] | 275 | config VBOOT_GSC_BOARD_ID |
| 276 | string |
| 277 | default "LBTV" if BOARD_GOOGLE_JOXER |
| 278 | |
Amanda Huang | 3765b50 | 2021-01-14 15:20:58 +0800 | [diff] [blame] | 279 | config DIMM_SPD_SIZE |
Amanda Huang | 3765b50 | 2021-01-14 15:20:58 +0800 | [diff] [blame] | 280 | default 512 |
| 281 | |
Eric Lai | 812f364 | 2020-11-26 14:42:52 +0800 | [diff] [blame] | 282 | config UART_FOR_CONSOLE |
| 283 | int |
| 284 | default 0 |
| 285 | |
Eric Lai | fdf4d87 | 2021-09-14 12:13:46 +0800 | [diff] [blame] | 286 | config HAVE_WWAN_POWER_SEQUENCE |
| 287 | def_bool n |
| 288 | help |
| 289 | Select this if the variant has a WWAN module and requires the poweroff sequence |
| 290 | to be performed on shutdown. Must define WWAN_FCPO, WWAN_RST and WWAN_PERST GPIOs |
| 291 | in variant.h, as well as T1_OFF_MS (time between PERST & RST) and T2_OFF_MS (time |
Reka Norman | 19567d8 | 2022-02-08 10:40:45 +1100 | [diff] [blame] | 292 | between RST and FCPO). WWAN_PERST and T1_OFF_MS are only necessary for PCIe WWAN |
| 293 | (when HAVE_PCIE_WWAN is also selected). |
| 294 | |
| 295 | config HAVE_PCIE_WWAN |
| 296 | def_bool n |
Eric Lai | fdf4d87 | 2021-09-14 12:13:46 +0800 | [diff] [blame] | 297 | |
Meera Ravindranath | 1ce0f3a | 2021-12-01 10:12:28 +0530 | [diff] [blame] | 298 | config USE_PM_ACPI_TIMER |
Casper Chang | 1169e59 | 2021-12-28 20:03:16 +0800 | [diff] [blame] | 299 | default y if BOARD_GOOGLE_PRIMUS4ES |
Meera Ravindranath | 1ce0f3a | 2021-12-01 10:12:28 +0530 | [diff] [blame] | 300 | default n |
| 301 | |
Subrata Banik | eab108f | 2023-01-08 11:05:21 +0530 | [diff] [blame^] | 302 | config DEFAULT_ADL_NEM |
| 303 | bool |
| 304 | help |
| 305 | Brya variants with Alder Lake ESx silicon to choose this config |
| 306 | as eNEM was fuse disable till ESx silicon revision. |
| 307 | |
Subrata Banik | 564accf | 2021-11-14 02:17:56 +0530 | [diff] [blame] | 308 | choice |
| 309 | prompt "Cache as RAM (CAR) setup configuration to use" |
Subrata Banik | eab108f | 2023-01-08 11:05:21 +0530 | [diff] [blame^] | 310 | default USE_ADL_NEM if DEFAULT_ADL_NEM |
Subrata Banik | cdedc08 | 2022-01-11 16:42:00 +0530 | [diff] [blame] | 311 | default USE_ADL_ENEM |
Subrata Banik | 564accf | 2021-11-14 02:17:56 +0530 | [diff] [blame] | 312 | |
| 313 | config USE_ADL_ENEM |
| 314 | bool "eNEM: when selected, the variant will use eNEM instead of regular NEM." |
| 315 | select INTEL_CAR_NEM_ENHANCED |
| 316 | |
| 317 | config USE_ADL_NEM |
| 318 | bool "NEM: when selected, the variant will use regular NEM." |
| 319 | select INTEL_CAR_NEM |
| 320 | |
| 321 | endchoice |
| 322 | |
Eric Lai | 47486b9 | 2022-01-19 12:42:56 +0800 | [diff] [blame] | 323 | config MEMORY_SODIMM |
| 324 | def_bool n |
Zhuohao Lee | d036a70 | 2022-01-21 00:28:58 +0800 | [diff] [blame] | 325 | select SPD_CACHE_ENABLE |
Eric Lai | 47486b9 | 2022-01-19 12:42:56 +0800 | [diff] [blame] | 326 | select SPD_CACHE_IN_FMAP |
| 327 | |
| 328 | config MEMORY_SOLDERDOWN |
| 329 | def_bool n |
| 330 | select CHROMEOS_DRAM_PART_NUMBER_IN_CBI if CHROMEOS |
| 331 | select HAVE_SPD_IN_CBFS |
| 332 | |
Reka Norman | a69125c | 2022-01-25 10:07:42 +1100 | [diff] [blame] | 333 | config HAVE_SLP_S0_GATE |
| 334 | def_bool n |
| 335 | |
Tim Wawrzynczak | c852533 | 2022-02-25 09:13:49 -0700 | [diff] [blame] | 336 | config INCLUDE_NVIDIA_GPU_ASL |
| 337 | def_bool n |
| 338 | help |
| 339 | Select this if the variant has an Nvidia GN20 GPU attached to PEG1 |
| 340 | |
Tim Wawrzynczak | 5ca882fa | 2022-05-27 12:29:55 -0600 | [diff] [blame] | 341 | config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS |
| 342 | int |
Tarun Tuli | b5445ad | 2023-01-06 20:49:37 +0000 | [diff] [blame] | 343 | default 33 |
Tim Wawrzynczak | 5ca882fa | 2022-05-27 12:29:55 -0600 | [diff] [blame] | 344 | |
Subrata Banik | e226aab | 2021-12-25 21:39:36 +0530 | [diff] [blame] | 345 | endif # BOARD_GOOGLE_BRYA_COMMON |