summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/p5qc/Kconfig
blob: 63f531145d2767cce157a3942b620ee401b2896e (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
64
65
66
67
68
69
70
71
#
# This file is part of the coreboot project.
#
#
# 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_P5QC || BOARD_ASUS_P5Q_PRO || BOARD_ASUS_P5QL_PRO || BOARD_ASUS_P5Q

config BOARD_SPECIFIC_OPTIONS
	def_bool y
	select CPU_INTEL_SOCKET_LGA775
	select NORTHBRIDGE_INTEL_X4X
	select SOUTHBRIDGE_INTEL_I82801JX
	select SUPERIO_WINBOND_W83667HG_A
	select HAVE_ACPI_TABLES
	select BOARD_ROMSIZE_KB_1024
	select HAVE_OPTION_TABLE
	select HAVE_CMOS_DEFAULT
	select HAVE_ACPI_RESUME
	select ATHEROS_ATL1E_SETMAC

config MAINBOARD_DIR
	string
	default "asus/p5qc"

config VARIANT_DIR
	string
	default "p5qc" if BOARD_ASUS_P5QC
	default "p5q_pro" if BOARD_ASUS_P5Q_PRO
	default "p5ql_pro" if BOARD_ASUS_P5QL_PRO
	default "p5q" if BOARD_ASUS_P5Q

config MAINBOARD_PART_NUMBER
	string
	default "P5QC" if BOARD_ASUS_P5QC
	default "P5Q PRO" if BOARD_ASUS_P5Q_PRO
	default "P5QL PRO" if BOARD_ASUS_P5QL_PRO
	default "P5Q" if BOARD_ASUS_P5Q

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

config GPIO_C
	string
	default "variants/p5ql_pro/gpio.c" if BOARD_ASUS_P5QL_PRO
	default "gpio.c"

config MAX_CPUS
	int
	default 4

# The MARVELL IDE controller delays SeaBIOS a lot and results in an unbootable
# bogus disk. Compiling SeaBIOS without ATA support is a workaround.

# The Asus P5QL PRO's Marvell controller (88SE6102-NNC2) does not need this, apparently.

config PAYLOAD_CONFIGFILE
	string
	default "" if PAYLOAD_SEABIOS && BOARD_ASUS_P5QL_PRO
	default "$(top)/src/mainboard/$(MAINBOARDDIR)/config_seabios" if PAYLOAD_SEABIOS

endif # BOARD_ASUS_P5Q*