2018-07-18 11:48:47 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2020-01-02 19:40:16 +01:00
|
|
|
if BOARD_ASUS_P5QC || BOARD_ASUS_P5Q_PRO || BOARD_ASUS_P5QL_PRO || BOARD_ASUS_P5Q
|
2018-07-18 11:48:47 +02:00
|
|
|
|
|
|
|
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
|
2018-08-22 02:14:04 +02:00
|
|
|
select ATHEROS_ATL1E_SETMAC
|
2018-07-18 11:48:47 +02:00
|
|
|
|
|
|
|
config MAINBOARD_DIR
|
|
|
|
string
|
|
|
|
default "asus/p5qc"
|
|
|
|
|
2018-10-14 13:12:01 +02:00
|
|
|
config VARIANT_DIR
|
|
|
|
string
|
|
|
|
default "p5qc" if BOARD_ASUS_P5QC
|
|
|
|
default "p5q_pro" if BOARD_ASUS_P5Q_PRO
|
2018-11-04 16:53:15 +01:00
|
|
|
default "p5ql_pro" if BOARD_ASUS_P5QL_PRO
|
2020-01-02 19:40:16 +01:00
|
|
|
default "p5q" if BOARD_ASUS_P5Q
|
2018-10-14 13:12:01 +02:00
|
|
|
|
2018-07-18 11:48:47 +02:00
|
|
|
config MAINBOARD_PART_NUMBER
|
|
|
|
string
|
2018-10-14 13:12:01 +02:00
|
|
|
default "P5QC" if BOARD_ASUS_P5QC
|
2018-11-03 15:24:29 +01:00
|
|
|
default "P5Q PRO" if BOARD_ASUS_P5Q_PRO
|
2018-11-04 16:53:15 +01:00
|
|
|
default "P5QL PRO" if BOARD_ASUS_P5QL_PRO
|
2020-01-02 19:40:16 +01:00
|
|
|
default "P5Q" if BOARD_ASUS_P5Q
|
2018-10-14 13:12:01 +02:00
|
|
|
|
|
|
|
config DEVICETREE
|
|
|
|
string
|
2018-11-06 22:09:18 +01:00
|
|
|
default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb"
|
2018-07-18 11:48:47 +02:00
|
|
|
|
2018-11-03 15:57:37 +01:00
|
|
|
config GPIO_C
|
|
|
|
string
|
2018-11-04 16:53:15 +01:00
|
|
|
default "variants/p5ql_pro/gpio.c" if BOARD_ASUS_P5QL_PRO
|
2018-11-03 15:57:37 +01:00
|
|
|
default "gpio.c"
|
|
|
|
|
2018-07-18 11:48:47 +02:00
|
|
|
config MAX_CPUS
|
|
|
|
int
|
|
|
|
default 4
|
|
|
|
|
2018-10-29 22:52:40 +01:00
|
|
|
# The MARVELL IDE controller delays SeaBIOS a lot and results in an unbootable
|
2018-07-18 11:48:47 +02:00
|
|
|
# bogus disk. Compiling SeaBIOS without ATA support is a workaround.
|
|
|
|
|
2018-11-04 16:53:15 +01:00
|
|
|
# The Asus P5QL PRO's Marvell controller (88SE6102-NNC2) does not need this, apparently.
|
|
|
|
|
2018-07-18 11:48:47 +02:00
|
|
|
config PAYLOAD_CONFIGFILE
|
|
|
|
string
|
2018-11-04 16:53:15 +01:00
|
|
|
default "" if PAYLOAD_SEABIOS && BOARD_ASUS_P5QL_PRO
|
2018-07-18 11:48:47 +02:00
|
|
|
default "$(top)/src/mainboard/$(MAINBOARDDIR)/config_seabios" if PAYLOAD_SEABIOS
|
|
|
|
|
2018-11-04 16:53:15 +01:00
|
|
|
endif # BOARD_ASUS_P5Q*
|