Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Arthur Heymans | 1541256 | 2018-07-18 11:48:47 +0200 | [diff] [blame] | 2 | |
Ivan Vatlin | 0ebb7840 | 2020-01-02 21:40:16 +0300 | [diff] [blame] | 3 | if BOARD_ASUS_P5QC || BOARD_ASUS_P5Q_PRO || BOARD_ASUS_P5QL_PRO || BOARD_ASUS_P5Q |
Arthur Heymans | 1541256 | 2018-07-18 11:48:47 +0200 | [diff] [blame] | 4 | |
| 5 | config BOARD_SPECIFIC_OPTIONS |
| 6 | def_bool y |
Arthur Heymans | 1541256 | 2018-07-18 11:48:47 +0200 | [diff] [blame] | 7 | select CPU_INTEL_SOCKET_LGA775 |
| 8 | select NORTHBRIDGE_INTEL_X4X |
| 9 | select SOUTHBRIDGE_INTEL_I82801JX |
| 10 | select SUPERIO_WINBOND_W83667HG_A |
| 11 | select HAVE_ACPI_TABLES |
| 12 | select BOARD_ROMSIZE_KB_1024 |
| 13 | select HAVE_OPTION_TABLE |
| 14 | select HAVE_CMOS_DEFAULT |
| 15 | select HAVE_ACPI_RESUME |
Arthur Heymans | 7f922b0 | 2018-08-22 02:14:04 +0200 | [diff] [blame] | 16 | select ATHEROS_ATL1E_SETMAC |
Arthur Heymans | 1541256 | 2018-07-18 11:48:47 +0200 | [diff] [blame] | 17 | |
| 18 | config MAINBOARD_DIR |
| 19 | string |
| 20 | default "asus/p5qc" |
| 21 | |
Arthur Heymans | 5f7910d | 2018-10-14 13:12:01 +0200 | [diff] [blame] | 22 | config VARIANT_DIR |
| 23 | string |
| 24 | default "p5qc" if BOARD_ASUS_P5QC |
| 25 | default "p5q_pro" if BOARD_ASUS_P5Q_PRO |
Angel Pons | d4b8909 | 2018-11-04 16:53:15 +0100 | [diff] [blame] | 26 | default "p5ql_pro" if BOARD_ASUS_P5QL_PRO |
Ivan Vatlin | 0ebb7840 | 2020-01-02 21:40:16 +0300 | [diff] [blame] | 27 | default "p5q" if BOARD_ASUS_P5Q |
Arthur Heymans | 5f7910d | 2018-10-14 13:12:01 +0200 | [diff] [blame] | 28 | |
Arthur Heymans | 1541256 | 2018-07-18 11:48:47 +0200 | [diff] [blame] | 29 | config MAINBOARD_PART_NUMBER |
| 30 | string |
Arthur Heymans | 5f7910d | 2018-10-14 13:12:01 +0200 | [diff] [blame] | 31 | default "P5QC" if BOARD_ASUS_P5QC |
Angel Pons | 5c568e0 | 2018-11-03 15:24:29 +0100 | [diff] [blame] | 32 | default "P5Q PRO" if BOARD_ASUS_P5Q_PRO |
Angel Pons | d4b8909 | 2018-11-04 16:53:15 +0100 | [diff] [blame] | 33 | default "P5QL PRO" if BOARD_ASUS_P5QL_PRO |
Ivan Vatlin | 0ebb7840 | 2020-01-02 21:40:16 +0300 | [diff] [blame] | 34 | default "P5Q" if BOARD_ASUS_P5Q |
Arthur Heymans | 5f7910d | 2018-10-14 13:12:01 +0200 | [diff] [blame] | 35 | |
| 36 | config DEVICETREE |
| 37 | string |
Peter Lemenkov | 395cbb4 | 2018-11-06 22:09:18 +0100 | [diff] [blame] | 38 | default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb" |
Arthur Heymans | 1541256 | 2018-07-18 11:48:47 +0200 | [diff] [blame] | 39 | |
Angel Pons | e0e98eb | 2018-11-03 15:57:37 +0100 | [diff] [blame] | 40 | config GPIO_C |
| 41 | string |
Angel Pons | d4b8909 | 2018-11-04 16:53:15 +0100 | [diff] [blame] | 42 | default "variants/p5ql_pro/gpio.c" if BOARD_ASUS_P5QL_PRO |
Angel Pons | e0e98eb | 2018-11-03 15:57:37 +0100 | [diff] [blame] | 43 | default "gpio.c" |
| 44 | |
Jonathan Neuschäfer | 40a1966 | 2018-10-29 22:52:40 +0100 | [diff] [blame] | 45 | # The MARVELL IDE controller delays SeaBIOS a lot and results in an unbootable |
Arthur Heymans | 1541256 | 2018-07-18 11:48:47 +0200 | [diff] [blame] | 46 | # bogus disk. Compiling SeaBIOS without ATA support is a workaround. |
| 47 | |
Angel Pons | d4b8909 | 2018-11-04 16:53:15 +0100 | [diff] [blame] | 48 | # The Asus P5QL PRO's Marvell controller (88SE6102-NNC2) does not need this, apparently. |
| 49 | |
Arthur Heymans | 1541256 | 2018-07-18 11:48:47 +0200 | [diff] [blame] | 50 | config PAYLOAD_CONFIGFILE |
| 51 | string |
Angel Pons | d4b8909 | 2018-11-04 16:53:15 +0100 | [diff] [blame] | 52 | default "" if PAYLOAD_SEABIOS && BOARD_ASUS_P5QL_PRO |
Arthur Heymans | 1541256 | 2018-07-18 11:48:47 +0200 | [diff] [blame] | 53 | default "$(top)/src/mainboard/$(MAINBOARDDIR)/config_seabios" if PAYLOAD_SEABIOS |
| 54 | |
Angel Pons | d4b8909 | 2018-11-04 16:53:15 +0100 | [diff] [blame] | 55 | endif # BOARD_ASUS_P5Q* |