payloads/edk2: Disable the CPU Timer Lib unless supported
[coreboot.git] / src / mainboard / asrock / g41c-gs / Kconfig
blob7ae84614a2d71a28880736e7aeea254b04a62776
1 # SPDX-License-Identifier: GPL-2.0-only
3 if BOARD_ASROCK_G41C_GS || BOARD_ASROCK_G41C_GS_R2_0 || \
4    BOARD_ASROCK_G41M_GS || BOARD_ASROCK_G41M_S3 || \
5    BOARD_ASROCK_G41M_VS3_R2_0
7 config BOARD_SPECIFIC_OPTIONS
8         def_bool y
9         select CPU_INTEL_SOCKET_LGA775
10         select NORTHBRIDGE_INTEL_X4X
11         select SOUTHBRIDGE_INTEL_I82801GX
12         select SUPERIO_NUVOTON_NCT6776 if BOARD_ASROCK_G41C_GS_R2_0
13         select SUPERIO_WINBOND_W83627DHG if BOARD_ASROCK_G41C_GS \
14                  || BOARD_ASROCK_G41M_GS || BOARD_ASROCK_G41M_S3 \
15                  || BOARD_ASROCK_G41M_VS3_R2_0
16         select HAVE_ACPI_TABLES
17         select BOARD_ROMSIZE_KB_1024
18         select HAVE_OPTION_TABLE
19         select HAVE_CMOS_DEFAULT
20         select HAVE_ACPI_RESUME
21         select DRIVERS_I2C_CK505
22         select INTEL_GMA_HAVE_VBT
23         select MAINBOARD_HAS_LIBGFXINIT
25 config MAINBOARD_DIR
26         default "asrock/g41c-gs"
28 config VARIANT_DIR
29         default "g41c-gs-r2" if BOARD_ASROCK_G41C_GS_R2_0
30         default "g41c-gs" if BOARD_ASROCK_G41C_GS
31         default "g41m-gs" if BOARD_ASROCK_G41M_GS
32         default "g41m-s3" if BOARD_ASROCK_G41M_S3
33         default "g41m-vs3-r2" if BOARD_ASROCK_G41M_VS3_R2_0
35 config MAINBOARD_PART_NUMBER
36         default "G41C-GS R2.0" if BOARD_ASROCK_G41C_GS_R2_0
37         default "G41C-GS" if BOARD_ASROCK_G41C_GS
38         default "G41M-GS" if BOARD_ASROCK_G41M_GS
39         default "G41M-S3" if BOARD_ASROCK_G41M_S3
40         default "G41M-VS3 R2.0" if BOARD_ASROCK_G41M_VS3_R2_0
42 config DEVICETREE
43         default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
45 # Override the default variant behavior, since the data.vbt is the same
46 config INTEL_GMA_VBT_FILE
47         default "src/mainboard/\$(MAINBOARDDIR)/data.vbt"
49 endif # BOARD_ASROCK_G41*