payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / starlabs / starbook / Kconfig
blobf3f50ad1bf33be1c02a60672d39671f823112ccd
1 config BOARD_STARLABS_STARBOOK_SERIES
2         def_bool n
3         select DRIVERS_I2C_HID
4         select EC_STARLABS_ITE
5         select EC_STARLABS_FAN
6         select HAVE_ACPI_RESUME
7         select HAVE_ACPI_TABLES
8         select HAVE_CMOS_DEFAULT
9         select HAVE_OPTION_TABLE
10         select INTEL_GMA_HAVE_VBT
11         select NO_UART_ON_SUPERIO
12         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
13         select SYSTEM_TYPE_LAPTOP
15 config BOARD_STARLABS_LABTOP_KBL
16         select BOARD_ROMSIZE_KB_8192
17         select BOARD_STARLABS_STARBOOK_SERIES
18         select CRB_TPM
19         select HAVE_INTEL_PTT
20         select HAVE_SPD_IN_CBFS
21         select MAINBOARD_HAS_LIBGFXINIT
22         select MAINBOARD_HAS_TPM2
23         select SOC_INTEL_KABYLAKE
24         select SPI_FLASH_GIGADEVICE
26 config BOARD_STARLABS_LABTOP_CML
27         select BOARD_ROMSIZE_KB_16384
28         select BOARD_STARLABS_STARBOOK_SERIES
29         select EC_STARLABS_MAX_CHARGE
30         select EC_STARLABS_NEED_ITE_BIN
31         select HAVE_INTEL_PTT
32         select HAVE_SPD_IN_CBFS
33         select CRB_TPM
34         select MAINBOARD_HAS_LIBGFXINIT
35         select MAINBOARD_HAS_TPM2
36         select SOC_INTEL_COMETLAKE_1
37         select SPI_FLASH_WINBOND
39 config BOARD_STARLABS_STARBOOK_TGL
40         select BOARD_ROMSIZE_KB_16384
41         select BOARD_STARLABS_STARBOOK_SERIES
42         select DRIVERS_INTEL_PMC
43         select DRIVERS_INTEL_USB4_RETIMER
44         select EC_STARLABS_KBL_LEVELS
45         select EC_STARLABS_MAX_CHARGE
46         select EC_STARLABS_NEED_ITE_BIN
47         select MEMORY_MAPPED_TPM
48         select MAINBOARD_HAS_TPM2
49         select SOC_INTEL_COMMON_BLOCK_TCSS
50         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
51         select SOC_INTEL_TIGERLAKE
52         select SOC_INTEL_TIGERLAKE_S3
53         select SPI_FLASH_WINBOND
54         select TPM_MEASURED_BOOT
56 if BOARD_STARLABS_STARBOOK_SERIES
58 config CCD_PORT
59         int
60         default 6 if BOARD_STARLABS_LABTOP_CML
61         default 3
63 config CMOS_DEFAULT_FILE
64         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.default" if BOARD_STARLABS_STARBOOK_TGL
66 config CMOS_LAYOUT_FILE
67         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.layout" if BOARD_STARLABS_STARBOOK_TGL
69 config DEVICETREE
70         default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
72 config DIMM_SPD_SIZE
73         default 512 if BOARD_STARLABS_LABTOP_KBL
75 config DRIVER_TPM_SPI_CHIP
76         default 2
78 config EC_GPE_SCI
79         default 0x6e if BOARD_STARLABS_STARBOOK_TGL
80         default 0x50
82 config EC_STARLABS_ADD_ITE_BIN
83         default y
85 config EC_STARLABS_ITE_BIN_PATH
86         string
87         depends on EC_STARLABS_NEED_ITE_BIN
88         default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/ec.bin"
90 config EC_VARIANT_DIR
91         default "kbl" if !EC_STARLABS_MERLIN && BOARD_STARLABS_LABTOP_KBL
92         default "cml" if !EC_STARLABS_MERLIN && BOARD_STARLABS_LABTOP_CML
93         default "tgl" if !EC_STARLABS_MERLIN && BOARD_STARLABS_STARBOOK_TGL
95 config FMDFILE
96         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd"
98 config IFD_BIN_PATH
99         string
100         default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/flashdescriptor.bin"
102 config MAINBOARD_DIR
103         default "starlabs/starbook"
105 config MAINBOARD_FAMILY
106         string
107         default "L3" if BOARD_STARLABS_LABTOP_KBL
108         default "L4" if BOARD_STARLABS_LABTOP_CML
109         default "B5" if BOARD_STARLABS_STARBOOK_TGL
111 config MAINBOARD_PART_NUMBER
112         default "LabTop Mk III" if BOARD_STARLABS_LABTOP_KBL
113         default "LabTop Mk IV" if BOARD_STARLABS_LABTOP_CML
114         default "StarBook Mk V" if BOARD_STARLABS_STARBOOK_TGL
116 config MAINBOARD_SMBIOS_PRODUCT_NAME
117         default "StarBook" if BOARD_STARLABS_STARBOOK_TGL
118         default "LabTop"
120 config ME_BIN_PATH
121         string
122         default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/intel_me.bin"
124 config EDK2_BOOTSPLASH_FILE
125         string
126         default "3rdparty/blobs/mainboard/starlabs/Logo.bmp"
128 config UART_FOR_CONSOLE
129         default 2
131 config USE_PM_ACPI_TIMER
132         default n if BOARD_STARLABS_STARBOOK_TGL
134 config VARIANT_DIR
135         default "kbl" if BOARD_STARLABS_LABTOP_KBL
136         default "cml" if BOARD_STARLABS_LABTOP_CML
137         default "tgl" if BOARD_STARLABS_STARBOOK_TGL
139 endif