summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/p5qpl-am/Kconfig
blob: 7cdfea9048df759b05d2f0c3523a52bc72c00f82 (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
54
55
56
57
58
59
60
61
62
63
#
# This file is part of the coreboot project.
#
# Copyright (C) 2015 Damien Zammit <damien@zamaudio.com>
# Copyright (C) 2017 Arthur Heymans <arthur@aheymans.xyz>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#

if BOARD_ASUS_P5QPL_AM || BOARD_ASUS_P5G41T_M_LX

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select ARCH_X86
	select CPU_INTEL_SOCKET_LGA775
	select NORTHBRIDGE_INTEL_X4X
	select SOUTHBRIDGE_INTEL_I82801GX
	select SUPERIO_WINBOND_W83627DHG
	select HAVE_ACPI_TABLES
	select BOARD_ROMSIZE_KB_1024
	select HAVE_OPTION_TABLE
	select HAVE_CMOS_DEFAULT
	select HAVE_ACPI_RESUME
	select INTEL_GMA_HAVE_VBT
	select MAINBOARD_HAS_LIBGFXINIT

	# P5G41T-M LX has ATL1C which works fine
	select ATHEROS_ATL1E_SETMAC if BOARD_ASUS_P5QPL_AM

config MAINBOARD_DIR
	string
	default "asus/p5qpl-am"

config VARIANT_DIR
	string
	default "p5qpl-am" if BOARD_ASUS_P5QPL_AM
	default "p5g41t-m_lx" if BOARD_ASUS_P5G41T_M_LX

config MAINBOARD_PART_NUMBER
	string
	default "P5QPL-AM" if BOARD_ASUS_P5QPL_AM
	default "P5G41T-M LX" if BOARD_ASUS_P5G41T_M_LX

config OVERRIDE_DEVICETREE
	string
	default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb"

config MAX_CPUS
	int
	default 4

# 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_ASUS_P5QPL_AM || BOARD_ASUS_P5G41T_M_LX