Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 4 | ## |
| 5 | ## This program is free software; you can redistribute it and/or modify |
| 6 | ## it under the terms of the GNU General Public License as published by |
Nils Jacobs | dd6ad34 | 2010-05-14 09:48:05 +0000 | [diff] [blame] | 7 | ## the Free Software Foundation; version 2 of the License. |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 8 | ## |
| 9 | ## This program is distributed in the hope that it will be useful, |
| 10 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | ## GNU General Public License for more details. |
| 13 | ## |
Keith Hui | b7c11c6 | 2020-02-02 20:36:26 -0500 | [diff] [blame] | 14 | if BOARD_ASUS_P2B || BOARD_ASUS_P2B_D || BOARD_ASUS_P2B_DS || BOARD_ASUS_P2B_F || BOARD_ASUS_P2B_LS |
Keith Hui | 6f1494b | 2020-02-02 20:23:03 -0500 | [diff] [blame] | 15 | |
| 16 | config BASE_ASUS_P2B_D |
| 17 | def_bool n |
| 18 | select SDRAMPWR_4DIMM |
| 19 | select HAVE_MP_TABLE |
| 20 | select IOAPIC |
| 21 | select SMP |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 22 | |
Elyes HAOUAS | f0c5be2 | 2018-11-27 20:36:44 +0100 | [diff] [blame] | 23 | config BOARD_SPECIFIC_OPTIONS |
Jens Rottmann | 9a684fc | 2010-08-30 16:36:51 +0000 | [diff] [blame] | 24 | def_bool y |
Uwe Hermann | 53c7276 | 2010-03-13 20:36:11 +0000 | [diff] [blame] | 25 | select CPU_INTEL_SLOT_1 |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 26 | select NORTHBRIDGE_INTEL_I440BX |
| 27 | select SOUTHBRIDGE_INTEL_I82371EB |
| 28 | select SUPERIO_WINBOND_W83977TF |
| 29 | select HAVE_PIRQ_TABLE |
Uwe Hermann | d65509d | 2009-10-16 17:37:20 +0000 | [diff] [blame] | 30 | select BOARD_ROMSIZE_KB_256 |
Keith Hui | d6d9a4e | 2020-02-02 18:33:52 -0500 | [diff] [blame] | 31 | select SDRAMPWR_4DIMM if BOARD_ASUS_P2B_LS |
| 32 | select HAVE_ACPI_TABLES if BOARD_ASUS_P2B || BOARD_ASUS_P2B_LS |
Keith Hui | b7c11c6 | 2020-02-02 20:36:26 -0500 | [diff] [blame] | 33 | select BASE_ASUS_P2B_D if BOARD_ASUS_P2B_D || BOARD_ASUS_P2B_DS |
Keith Hui | 6f1494b | 2020-02-02 20:23:03 -0500 | [diff] [blame] | 34 | |
| 35 | config MAX_CPUS |
| 36 | int |
| 37 | default 2 if BASE_ASUS_P2B_D |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 38 | |
| 39 | config MAINBOARD_DIR |
| 40 | string |
Patrick Georgi | 0bb8346 | 2019-11-22 20:58:58 +0100 | [diff] [blame] | 41 | default "asus/p2b" |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 42 | |
| 43 | config MAINBOARD_PART_NUMBER |
| 44 | string |
Keith Hui | bf7d6f1 | 2020-02-02 18:03:22 -0500 | [diff] [blame] | 45 | default "P2B" if BOARD_ASUS_P2B |
Keith Hui | 6f1494b | 2020-02-02 20:23:03 -0500 | [diff] [blame] | 46 | default "P2B-D" if BOARD_ASUS_P2B_D |
Keith Hui | b7c11c6 | 2020-02-02 20:36:26 -0500 | [diff] [blame] | 47 | default "P2B-DS" if BOARD_ASUS_P2B_DS |
Keith Hui | 7e269ad | 2020-02-02 19:23:47 -0500 | [diff] [blame] | 48 | default "P2B-F" if BOARD_ASUS_P2B_F |
Keith Hui | d6d9a4e | 2020-02-02 18:33:52 -0500 | [diff] [blame] | 49 | default "P2B-LS" if BOARD_ASUS_P2B_LS |
Keith Hui | bf7d6f1 | 2020-02-02 18:03:22 -0500 | [diff] [blame] | 50 | |
| 51 | config VARIANT_DIR |
| 52 | string |
| 53 | default "p2b" if BOARD_ASUS_P2B |
Keith Hui | 6f1494b | 2020-02-02 20:23:03 -0500 | [diff] [blame] | 54 | default "p2b-d" if BOARD_ASUS_P2B_D |
Keith Hui | b7c11c6 | 2020-02-02 20:36:26 -0500 | [diff] [blame] | 55 | default "p2b-ds" if BOARD_ASUS_P2B_DS |
Keith Hui | 7e269ad | 2020-02-02 19:23:47 -0500 | [diff] [blame] | 56 | default "p2b-f" if BOARD_ASUS_P2B_F |
Keith Hui | d6d9a4e | 2020-02-02 18:33:52 -0500 | [diff] [blame] | 57 | default "p2b-ls" if BOARD_ASUS_P2B_LS |
Keith Hui | 7e269ad | 2020-02-02 19:23:47 -0500 | [diff] [blame] | 58 | |
| 59 | config DEVICETREE |
| 60 | string |
| 61 | default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb" if ! BOARD_ASUS_P2B |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 62 | |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 63 | config IRQ_SLOT_COUNT |
| 64 | int |
Keith Hui | d6d9a4e | 2020-02-02 18:33:52 -0500 | [diff] [blame] | 65 | default 8 if BOARD_ASUS_P2B_LS |
Keith Hui | b7c11c6 | 2020-02-02 20:36:26 -0500 | [diff] [blame] | 66 | default 7 if BOARD_ASUS_P2B_F || BOARD_ASUS_P2B_DS |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 67 | default 6 |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 68 | |
Keith Hui | bf7d6f1 | 2020-02-02 18:03:22 -0500 | [diff] [blame] | 69 | endif |