Karthikeyan Ramasubramanian | a84d4f23 | 2022-02-02 10:10:03 -0700 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | |
| 3 | config BOARD_GOOGLE_BASEBOARD_SKYRIM |
| 4 | def_bool n |
| 5 | |
| 6 | if BOARD_GOOGLE_BASEBOARD_SKYRIM |
| 7 | |
Jon Murphy | cbf0f98 | 2022-02-16 06:47:46 -0700 | [diff] [blame] | 8 | config IGNORE_IASL_MISSING_DEPENDENCY |
| 9 | def_bool y |
| 10 | |
Karthikeyan Ramasubramanian | a84d4f23 | 2022-02-02 10:10:03 -0700 | [diff] [blame] | 11 | config AMD_FWM_POSITION_INDEX |
| 12 | int |
| 13 | default 3 |
| 14 | help |
| 15 | TODO: might need to be adapted for better placement of files in cbfs |
| 16 | |
| 17 | config BOARD_SPECIFIC_OPTIONS |
| 18 | def_bool y |
Jon Murphy | 4b2e04a | 2022-02-17 14:54:46 -0700 | [diff] [blame^] | 19 | select AMD_SOC_CONSOLE_UART |
Karthikeyan Ramasubramanian | a84d4f23 | 2022-02-02 10:10:03 -0700 | [diff] [blame] | 20 | select BOARD_ROMSIZE_KB_16384 |
Jon Murphy | cbf0f98 | 2022-02-16 06:47:46 -0700 | [diff] [blame] | 21 | select EC_GOOGLE_CHROMEEC |
| 22 | select EC_GOOGLE_CHROMEEC_ESPI |
Jon Murphy | eab1827 | 2022-02-17 14:52:01 -0700 | [diff] [blame] | 23 | select FW_CONFIG |
Jon Murphy | af025d6 | 2022-02-16 06:44:53 -0700 | [diff] [blame] | 24 | select MAINBOARD_HAS_CHROMEOS |
Karthikeyan Ramasubramanian | a84d4f23 | 2022-02-02 10:10:03 -0700 | [diff] [blame] | 25 | select SOC_AMD_SABRINA |
| 26 | |
Jon Murphy | cbf0f98 | 2022-02-16 06:47:46 -0700 | [diff] [blame] | 27 | config CHROMEOS |
| 28 | select EC_GOOGLE_CHROMEEC_SWITCHES |
| 29 | |
Karthikeyan Ramasubramanian | a84d4f23 | 2022-02-02 10:10:03 -0700 | [diff] [blame] | 30 | config DEVICETREE |
| 31 | default "variants/baseboard/devicetree.cb" |
| 32 | |
| 33 | config FMDFILE |
| 34 | default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/chromeos.fmd" |
| 35 | |
| 36 | config MAINBOARD_DIR |
| 37 | default "google/skyrim" |
| 38 | |
| 39 | config MAINBOARD_FAMILY |
| 40 | string |
| 41 | default "Google_Skyrim" |
| 42 | |
| 43 | config MAINBOARD_PART_NUMBER |
| 44 | default "Skyrim" if BOARD_GOOGLE_SKYRIM |
| 45 | |
Jon Murphy | 9e00571 | 2022-02-17 14:48:55 -0700 | [diff] [blame] | 46 | config OVERRIDE_DEVICETREE |
| 47 | string |
| 48 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
| 49 | |
| 50 | config VARIANT_DIR |
| 51 | string |
| 52 | default "skyrim" if BOARD_GOOGLE_SKYRIM |
| 53 | |
Jon Murphy | af025d6 | 2022-02-16 06:44:53 -0700 | [diff] [blame] | 54 | config VBOOT |
Jon Murphy | cbf0f98 | 2022-02-16 06:47:46 -0700 | [diff] [blame] | 55 | select VBOOT_LID_SWITCH |
Jon Murphy | af025d6 | 2022-02-16 06:44:53 -0700 | [diff] [blame] | 56 | select VBOOT_SEPARATE_VERSTAGE |
| 57 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 58 | |
Karthikeyan Ramasubramanian | a84d4f23 | 2022-02-02 10:10:03 -0700 | [diff] [blame] | 59 | endif # BOARD_GOOGLE_BASEBOARD_SKYRIM |