summaryrefslogtreecommitdiff
path: root/src/mainboard/asrock/g41c-gs/Kconfig
blob: 900bfefe53972d74697153b5c6e2c0d7bc25325d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# SPDX-License-Identifier: GPL-2.0-only

if BOARD_ASROCK_G41C_GS || BOARD_ASROCK_G41C_GS_R2_0 || \
   BOARD_ASROCK_G41M_GS || BOARD_ASROCK_G41M_S3 || \
   BOARD_ASROCK_G41M_VS3_R2_0

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select CPU_INTEL_SOCKET_LGA775
	select NORTHBRIDGE_INTEL_X4X
	select SOUTHBRIDGE_INTEL_I82801GX
	select SUPERIO_NUVOTON_NCT6776 if BOARD_ASROCK_G41C_GS_R2_0
	select SUPERIO_WINBOND_W83627DHG if BOARD_ASROCK_G41C_GS \
		 || BOARD_ASROCK_G41M_GS || BOARD_ASROCK_G41M_S3 \
		 || BOARD_ASROCK_G41M_VS3_R2_0
	select HAVE_ACPI_TABLES
	select BOARD_ROMSIZE_KB_1024
	select HAVE_OPTION_TABLE
	select HAVE_CMOS_DEFAULT
	select HAVE_ACPI_RESUME
	select DRIVERS_I2C_CK505
	select INTEL_GMA_HAVE_VBT
	select MAINBOARD_HAS_LIBGFXINIT

config MAINBOARD_DIR
	string
	default "asrock/g41c-gs"

config VARIANT_DIR
	string
	default "g41c-gs-r2" if BOARD_ASROCK_G41C_GS_R2_0
	default "g41c-gs" if BOARD_ASROCK_G41C_GS
	default "g41m-gs" if BOARD_ASROCK_G41M_GS
	default "g41m-s3" if BOARD_ASROCK_G41M_S3
	default "g41m-vs3-r2" if BOARD_ASROCK_G41M_VS3_R2_0

config MAINBOARD_PART_NUMBER
	string
	default "G41C-GS R2.0" if BOARD_ASROCK_G41C_GS_R2_0
	default "G41C-GS" if BOARD_ASROCK_G41C_GS
	default "G41M-GS" if BOARD_ASROCK_G41M_GS
	default "G41M-S3" if BOARD_ASROCK_G41M_S3
	default "G41M-VS3 R2.0" if BOARD_ASROCK_G41M_VS3_R2_0

config DEVICETREE
	string
	default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"

# Override the default variant behavior, since the data.vbt is the same
config INTEL_GMA_VBT_FILE
	default "src/mainboard/$(MAINBOARDDIR)/data.vbt"

endif # BOARD_ASROCK_G41*