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
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
26 default "asrock/g41c-gs"
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
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*