payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / google / trogdor / Kconfig
blobe409aeee67cb694e08e3a76e3aa8cf918bdc48d1
2 config BOARD_GOOGLE_TROGDOR_COMMON  # Umbrella option to be selected by variants
3         def_bool n
5 if BOARD_GOOGLE_TROGDOR_COMMON
7 config TROGDOR_REV0
8         def_bool n
10 config TROGDOR_HAS_BRIDGE_BACKLIGHT
11         bool
12         default y if BOARD_GOOGLE_HOMESTAR
13         default n
15 config TROGDOR_HAS_MIPI_PANEL
16         bool
17         default y if BOARD_GOOGLE_MRBLAND || BOARD_GOOGLE_QUACKINGSTICK || BOARD_GOOGLE_WORMDINGLER
18         select MIPI_PANEL_AUO_B101UAN08_3 if BOARD_GOOGLE_MRBLAND || BOARD_GOOGLE_QUACKINGSTICK
19         select MIPI_PANEL_BOE_TV101WUM_N53 if BOARD_GOOGLE_MRBLAND
20         select MIPI_PANEL_INX_P110ZZD_DF0 if BOARD_GOOGLE_WORMDINGLER
21         select MIPI_PANEL_BOE_TV110C9M_LL0 if BOARD_GOOGLE_WORMDINGLER
22         default n
24 config TROGDOR_HAS_FINGERPRINT
25         bool
26         default y if BOARD_GOOGLE_COACHZ
27         default y if BOARD_GOOGLE_MARZIPAN
28         default n
30 config BOARD_SPECIFIC_OPTIONS
31         def_bool y
32         select BOARD_ROMSIZE_KB_8192
33         select COMMON_CBFS_SPI_WRAPPER
34         select EC_GOOGLE_CHROMEEC if !BOARD_GOOGLE_BUBS
35         select EC_GOOGLE_CHROMEEC_RTC if !BOARD_GOOGLE_BUBS
36         select EC_GOOGLE_CHROMEEC_SPI if !BOARD_GOOGLE_BUBS
37         select RTC if !BOARD_GOOGLE_BUBS
38         select MISSING_BOARD_RESET if BOARD_GOOGLE_BUBS
39         select DRIVERS_TI_SN65DSI86BRIDGE
40         select DRIVER_PARADE_PS8640
41         select SOC_QUALCOMM_SC7180
42         select SPI_FLASH
43         select SPI_FLASH_MACRONIX
44         select SPI_FLASH_GIGADEVICE
45         select SPI_FLASH_WINBOND
46         select MAINBOARD_HAS_CHROMEOS
47         select MAINBOARD_HAS_TPM2 if !BOARD_GOOGLE_BUBS
48         select SPI_TPM if !BOARD_GOOGLE_BUBS
49         select TPM_GOOGLE_CR50 if !BOARD_GOOGLE_BUBS
51 config VBOOT
52         select EC_GOOGLE_CHROMEEC_SWITCHES if !BOARD_GOOGLE_BUBS
53         select VBOOT_VBNV_FLASH
54         select VBOOT_NO_BOARD_SUPPORT if BOARD_GOOGLE_BUBS
55         select VBOOT_MOCK_SECDATA if BOARD_GOOGLE_BUBS
57 config MAINBOARD_DIR
58         default "google/trogdor"
60 config DRIVER_TPM_SPI_BUS
61         hex
62         default 0x6 if TROGDOR_REV0
63         default 0x0
65 config EC_GOOGLE_CHROMEEC_SPI_BUS
66         hex
67         default 0x0 if TROGDOR_REV0
68         default 0x6
70 ##########################################################
71 #### Update below when adding a new derivative board. ####
72 ##########################################################
74 config MAINBOARD_PART_NUMBER
75         default "Bubs" if BOARD_GOOGLE_BUBS
76         default "Coachz" if BOARD_GOOGLE_COACHZ
77         default "Gelarshie" if BOARD_GOOGLE_GELARSHIE
78         default "Homestar" if BOARD_GOOGLE_HOMESTAR
79         default "Kingoftown" if BOARD_GOOGLE_KINGOFTOWN
80         default "Lazor" if BOARD_GOOGLE_LAZOR
81         default "Marzipan" if BOARD_GOOGLE_MARZIPAN
82         default "Mrbland" if BOARD_GOOGLE_MRBLAND
83         default "Pazquel" if BOARD_GOOGLE_PAZQUEL
84         default "Pompom" if BOARD_GOOGLE_POMPOM
85         default "Quackingstick" if BOARD_GOOGLE_QUACKINGSTICK
86         default "Trogdor" if BOARD_GOOGLE_TROGDOR
87         default "Wormdingler" if BOARD_GOOGLE_WORMDINGLER
89 endif # BOARD_GOOGLE_TROGDOR_COMMON