T Michael Turney | fda6cd6 | 2019-10-10 12:19:51 -0700 | [diff] [blame] | 1 | |
| 2 | config BOARD_GOOGLE_TROGDOR_COMMON # Umbrella option to be selected by variants |
| 3 | def_bool n |
| 4 | |
| 5 | if BOARD_GOOGLE_TROGDOR_COMMON |
| 6 | |
Julius Werner | 561b8cc | 2020-02-06 16:44:40 -0800 | [diff] [blame] | 7 | config TROGDOR_REV0 |
Ravi Kumar Bokka | cdd84e7 | 2020-06-22 18:30:04 +0530 | [diff] [blame] | 8 | def_bool n |
Julius Werner | 561b8cc | 2020-02-06 16:44:40 -0800 | [diff] [blame] | 9 | |
Julius Werner | a39c577 | 2021-02-10 14:25:21 -0800 | [diff] [blame] | 10 | config TROGDOR_HAS_FINGERPRINT |
| 11 | bool |
| 12 | default y if BOARD_GOOGLE_COACHZ |
Kevin Chiu | 4490689 | 2021-03-18 10:42:03 +0800 | [diff] [blame] | 13 | default y if BOARD_GOOGLE_MARZIPAN |
Julius Werner | a39c577 | 2021-02-10 14:25:21 -0800 | [diff] [blame] | 14 | default n |
| 15 | |
T Michael Turney | fda6cd6 | 2019-10-10 12:19:51 -0700 | [diff] [blame] | 16 | config BOARD_SPECIFIC_OPTIONS |
| 17 | def_bool y |
| 18 | select BOARD_ROMSIZE_KB_8192 |
| 19 | select COMMON_CBFS_SPI_WRAPPER |
T Michael Turney | 1492925 | 2019-11-20 15:22:29 -0800 | [diff] [blame] | 20 | select EC_GOOGLE_CHROMEEC if !BOARD_GOOGLE_BUBS |
| 21 | select EC_GOOGLE_CHROMEEC_RTC if !BOARD_GOOGLE_BUBS |
| 22 | select EC_GOOGLE_CHROMEEC_SPI if !BOARD_GOOGLE_BUBS |
| 23 | select RTC if !BOARD_GOOGLE_BUBS |
| 24 | select MISSING_BOARD_RESET if BOARD_GOOGLE_BUBS |
Vinod Polimera | c4e0b0a | 2020-06-23 16:23:06 +0530 | [diff] [blame] | 25 | select DRIVERS_TI_SN65DSI86BRIDGE |
T Michael Turney | fda6cd6 | 2019-10-10 12:19:51 -0700 | [diff] [blame] | 26 | select SOC_QUALCOMM_SC7180 |
| 27 | select SPI_FLASH |
| 28 | select SPI_FLASH_WINBOND |
xuxinxiong | 8f11d24 | 2021-03-12 10:49:21 +0800 | [diff] [blame] | 29 | select SPI_FLASH_GIGADEVICE |
T Michael Turney | fda6cd6 | 2019-10-10 12:19:51 -0700 | [diff] [blame] | 30 | select MAINBOARD_HAS_CHROMEOS |
T Michael Turney | 1492925 | 2019-11-20 15:22:29 -0800 | [diff] [blame] | 31 | select MAINBOARD_HAS_SPI_TPM_CR50 if !BOARD_GOOGLE_BUBS |
| 32 | select MAINBOARD_HAS_TPM2 if !BOARD_GOOGLE_BUBS |
T Michael Turney | fda6cd6 | 2019-10-10 12:19:51 -0700 | [diff] [blame] | 33 | |
| 34 | config VBOOT |
T Michael Turney | 1492925 | 2019-11-20 15:22:29 -0800 | [diff] [blame] | 35 | select EC_GOOGLE_CHROMEEC_SWITCHES if !BOARD_GOOGLE_BUBS |
T Michael Turney | fda6cd6 | 2019-10-10 12:19:51 -0700 | [diff] [blame] | 36 | select VBOOT_VBNV_FLASH |
T Michael Turney | 1492925 | 2019-11-20 15:22:29 -0800 | [diff] [blame] | 37 | select VBOOT_NO_BOARD_SUPPORT if BOARD_GOOGLE_BUBS |
| 38 | select VBOOT_MOCK_SECDATA if BOARD_GOOGLE_BUBS |
T Michael Turney | fda6cd6 | 2019-10-10 12:19:51 -0700 | [diff] [blame] | 39 | |
| 40 | config MAINBOARD_DIR |
| 41 | string |
Patrick Georgi | 0bb8346 | 2019-11-22 20:58:58 +0100 | [diff] [blame] | 42 | default "google/trogdor" |
T Michael Turney | fda6cd6 | 2019-10-10 12:19:51 -0700 | [diff] [blame] | 43 | |
T Michael Turney | fda6cd6 | 2019-10-10 12:19:51 -0700 | [diff] [blame] | 44 | config DRIVER_TPM_SPI_BUS |
| 45 | hex |
Julius Werner | 561b8cc | 2020-02-06 16:44:40 -0800 | [diff] [blame] | 46 | default 0x6 if TROGDOR_REV0 |
| 47 | default 0x0 |
T Michael Turney | fda6cd6 | 2019-10-10 12:19:51 -0700 | [diff] [blame] | 48 | |
| 49 | config EC_GOOGLE_CHROMEEC_SPI_BUS |
| 50 | hex |
Julius Werner | 561b8cc | 2020-02-06 16:44:40 -0800 | [diff] [blame] | 51 | default 0x0 if TROGDOR_REV0 |
| 52 | default 0x6 |
T Michael Turney | fda6cd6 | 2019-10-10 12:19:51 -0700 | [diff] [blame] | 53 | |
| 54 | ########################################################## |
| 55 | #### Update below when adding a new derivative board. #### |
| 56 | ########################################################## |
| 57 | |
| 58 | config MAINBOARD_PART_NUMBER |
| 59 | string |
T Michael Turney | 1492925 | 2019-11-20 15:22:29 -0800 | [diff] [blame] | 60 | default "Bubs" if BOARD_GOOGLE_BUBS |
Bob Moragues | c06c0ce | 2020-09-02 20:05:48 +0000 | [diff] [blame] | 61 | default "Coachz" if BOARD_GOOGLE_COACHZ |
xuxinxiong | 9a446bd | 2021-02-19 13:54:13 +0800 | [diff] [blame] | 62 | default "Homestar" if BOARD_GOOGLE_HOMESTAR |
Julius Werner | 984a6b4 | 2020-07-06 12:11:37 -0700 | [diff] [blame] | 63 | default "Lazor" if BOARD_GOOGLE_LAZOR |
Kevin Chiu | 4490689 | 2021-03-18 10:42:03 +0800 | [diff] [blame] | 64 | default "Marzipan" if BOARD_GOOGLE_MARZIPAN |
Julius Werner | 984a6b4 | 2020-07-06 12:11:37 -0700 | [diff] [blame] | 65 | default "Pompom" if BOARD_GOOGLE_POMPOM |
| 66 | default "Trogdor" if BOARD_GOOGLE_TROGDOR |
T Michael Turney | fda6cd6 | 2019-10-10 12:19:51 -0700 | [diff] [blame] | 67 | |
| 68 | endif # BOARD_GOOGLE_TROGDOR_COMMON |