Revert "mb/starlabs/*: Enable the Mirror flag for boards that support"
[coreboot.git] / src / mainboard / starlabs / starbook / Kconfig
blob15b2a585e2e0f0d1d1ba1b230782d0e64d452d14
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 INTEL_LPSS_UART_FOR_CONSOLE
12         select MAINBOARD_HAS_TPM2
13         select NO_S0IX_SUPPORT
14         select NO_UART_ON_SUPERIO
15         select SOC_INTEL_COMMON_BLOCK_HDA_VERB
16         select SYSTEM_TYPE_LAPTOP
18 config BOARD_STARLABS_LABTOP_KBL
19         select BOARD_ROMSIZE_KB_8192
20         select BOARD_STARLABS_STARBOOK_SERIES
21         select CRB_TPM
22         select HAVE_INTEL_PTT
23         select HAVE_SPD_IN_CBFS
24         select MAINBOARD_HAS_LIBGFXINIT
25         select SOC_INTEL_KABYLAKE
26         select SPI_FLASH_GIGADEVICE
28 config BOARD_STARLABS_LABTOP_CML
29         select BOARD_ROMSIZE_KB_16384
30         select BOARD_STARLABS_STARBOOK_SERIES
31         select EC_STARLABS_MAX_CHARGE
32         select EC_STARLABS_NEED_ITE_BIN
33         select HAVE_INTEL_PTT
34         select HAVE_SPD_IN_CBFS
35         select CRB_TPM
36         select MAINBOARD_HAS_LIBGFXINIT
37         select SOC_INTEL_COMETLAKE_1
38         select SPI_FLASH_WINBOND
40 config BOARD_STARLABS_STARBOOK_TGL
41         select BOARD_ROMSIZE_KB_16384
42         select BOARD_STARLABS_STARBOOK_SERIES
43         select DRIVERS_INTEL_PMC
44         select DRIVERS_INTEL_USB4_RETIMER
45         select EC_STARLABS_KBL_LEVELS
46         select EC_STARLABS_MAX_CHARGE
47         select EC_STARLABS_NEED_ITE_BIN
48         select MEMORY_MAPPED_TPM
49         select SOC_INTEL_COMMON_BLOCK_TCSS
50         select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
51         select SOC_INTEL_TIGERLAKE
52         select SPI_FLASH_WINBOND
53         select TPM_MEASURED_BOOT
55 config BOARD_STARLABS_STARBOOK_ADL
56         select BOARD_ROMSIZE_KB_32768
57         select BOARD_STARLABS_STARBOOK_SERIES
58         select DRIVERS_INTEL_PMC
59         select EC_STARLABS_KBL_LEVELS
60         select EC_STARLABS_MAX_CHARGE
61         select EC_STARLABS_MIRROR_FLAG
62         select EC_STARLABS_NEED_ITE_BIN
63         select MEMORY_MAPPED_TPM
64         select SOC_INTEL_ALDERLAKE
65         select SOC_INTEL_ALDERLAKE_PCH_P
66         select SPI_FLASH_WINBOND
67         select TPM_MEASURED_BOOT
68         select PCIEXP_SUPPORT_RESIZABLE_BARS
70 if BOARD_STARLABS_STARBOOK_SERIES
72 config CCD_PORT
73         int
74         default 6 if BOARD_STARLABS_LABTOP_CML
75         default 4 if BOARD_STARLABS_STARBOOK_ADL
76         default 3
78 config CMOS_DEFAULT_FILE
79         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.default" if BOARD_STARLABS_STARBOOK_TGL
81 config CMOS_LAYOUT_FILE
82         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/cmos.layout" if BOARD_STARLABS_STARBOOK_TGL
84 config CONSOLE_SERIAL
85         default n if !EDK2_DEBUG
87 config DEVICETREE
88         default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
90 config DIMM_SPD_SIZE
91         default 512
93 config DRIVER_TPM_SPI_CHIP
94         default 2
96 config EC_GPE_SCI
97         default 0x6e if BOARD_STARLABS_STARBOOK_TGL || BOARD_STARLABS_STARBOOK_ADL
98         default 0x50
100 config EC_STARLABS_ADD_ITE_BIN
101         default y
103 config EC_STARLABS_ITE_BIN_PATH
104         string
105         depends on EC_STARLABS_NEED_ITE_BIN
106         default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/ec.bin"
108 config EC_VARIANT_DIR
109         default "kbl" if !EC_STARLABS_MERLIN && BOARD_STARLABS_LABTOP_KBL
110         default "cml" if !EC_STARLABS_MERLIN && BOARD_STARLABS_LABTOP_CML
111         default "tgl" if !EC_STARLABS_MERLIN && BOARD_STARLABS_STARBOOK_TGL
112         default "adl" if !EC_STARLABS_MERLIN && BOARD_STARLABS_STARBOOK_ADL
114 config FMDFILE
115         default "src/mainboard/\$(CONFIG_MAINBOARD_DIR)/variants/\$(CONFIG_VARIANT_DIR)/board.fmd"
117 config IFD_BIN_PATH
118         string
119         default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/flashdescriptor.bin"
121 config MAINBOARD_DIR
122         default "starlabs/starbook"
124 config MAINBOARD_FAMILY
125         string
126         default "L3" if BOARD_STARLABS_LABTOP_KBL
127         default "L4" if BOARD_STARLABS_LABTOP_CML
128         default "B5" if BOARD_STARLABS_STARBOOK_TGL
129         default "B6-I" if BOARD_STARLABS_STARBOOK_ADL
131 config MAINBOARD_PART_NUMBER
132         default "LabTop Mk III" if BOARD_STARLABS_LABTOP_KBL
133         default "LabTop Mk IV" if BOARD_STARLABS_LABTOP_CML
134         default "StarBook Mk V" if BOARD_STARLABS_STARBOOK_TGL
135         default "StarBook Mk VI" if BOARD_STARLABS_STARBOOK_ADL
137 config MAINBOARD_SMBIOS_PRODUCT_NAME
138         default "StarBook" if BOARD_STARLABS_STARBOOK_TGL || BOARD_STARLABS_STARBOOK_ADL
139         default "LabTop"
141 config ME_BIN_PATH
142         string
143         default "3rdparty/blobs/mainboard/\$(MAINBOARDDIR)/\$(CONFIG_VARIANT_DIR)/intel_me.bin"
145 config EDK2_BOOTSPLASH_FILE
146         string
147         default "3rdparty/blobs/mainboard/starlabs/Logo.bmp"
149 config PCIEXP_DEFAULT_MAX_RESIZABLE_BAR_BITS
150         default 32
152 config SOC_INTEL_CSE_SEND_EOP_EARLY
153         default n if BOARD_STARLABS_STARBOOK_ADL
155 config UART_FOR_CONSOLE
156         default 0 if BOARD_STARLABS_STARBOOK_ADL
157         default 2
159 config USE_PM_ACPI_TIMER
160         default n if BOARD_STARLABS_STARBOOK_TGL || BOARD_STARLABS_STARBOOK_ADL
162 config VARIANT_DIR
163         default "kbl" if BOARD_STARLABS_LABTOP_KBL
164         default "cml" if BOARD_STARLABS_LABTOP_CML
165         default "tgl" if BOARD_STARLABS_STARBOOK_TGL
166         default "adl" if BOARD_STARLABS_STARBOOK_ADL
168 endif