Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
Keith Hui | edd3846 | 2020-04-19 00:55:48 -0400 | [diff] [blame] | 3 | if BOARD_ASUS_P2B || BOARD_ASUS_P2B_D || BOARD_ASUS_P2B_DS || BOARD_ASUS_P2B_F || BOARD_ASUS_P2B_LS || BOARD_ASUS_P3B_F |
Keith Hui | 6f1494b | 2020-02-02 20:23:03 -0500 | [diff] [blame] | 4 | |
| 5 | config BASE_ASUS_P2B_D |
| 6 | def_bool n |
| 7 | select SDRAMPWR_4DIMM |
| 8 | select HAVE_MP_TABLE |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 9 | |
Elyes HAOUAS | f0c5be2 | 2018-11-27 20:36:44 +0100 | [diff] [blame] | 10 | config BOARD_SPECIFIC_OPTIONS |
Jens Rottmann | 9a684fc | 2010-08-30 16:36:51 +0000 | [diff] [blame] | 11 | def_bool y |
Kyösti Mälkki | 10bdee1 | 2023-04-11 01:00:17 +0300 | [diff] [blame] | 12 | select ACPI_NO_CUSTOM_MADT |
Uwe Hermann | 53c7276 | 2010-03-13 20:36:11 +0000 | [diff] [blame] | 13 | select CPU_INTEL_SLOT_1 |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 14 | select NORTHBRIDGE_INTEL_I440BX |
| 15 | select SOUTHBRIDGE_INTEL_I82371EB |
| 16 | select SUPERIO_WINBOND_W83977TF |
| 17 | select HAVE_PIRQ_TABLE |
Uwe Hermann | d65509d | 2009-10-16 17:37:20 +0000 | [diff] [blame] | 18 | select BOARD_ROMSIZE_KB_256 |
Keith Hui | b29cc1a | 2020-05-19 23:36:51 -0400 | [diff] [blame] | 19 | select HAVE_OPTION_TABLE |
Keith Hui | edd3846 | 2020-04-19 00:55:48 -0400 | [diff] [blame] | 20 | select SDRAMPWR_4DIMM if BOARD_ASUS_P2B_LS || BOARD_ASUS_P3B_F |
Keith Hui | d6d9a4e | 2020-02-02 18:33:52 -0500 | [diff] [blame] | 21 | select HAVE_ACPI_TABLES if BOARD_ASUS_P2B || BOARD_ASUS_P2B_LS |
Keith Hui | b7c11c6 | 2020-02-02 20:36:26 -0500 | [diff] [blame] | 22 | 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] | 23 | |
| 24 | config MAX_CPUS |
| 25 | int |
| 26 | default 2 if BASE_ASUS_P2B_D |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 27 | |
| 28 | config MAINBOARD_DIR |
Patrick Georgi | 0bb8346 | 2019-11-22 20:58:58 +0100 | [diff] [blame] | 29 | default "asus/p2b" |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 30 | |
| 31 | config MAINBOARD_PART_NUMBER |
Keith Hui | bf7d6f1 | 2020-02-02 18:03:22 -0500 | [diff] [blame] | 32 | default "P2B" if BOARD_ASUS_P2B |
Keith Hui | 6f1494b | 2020-02-02 20:23:03 -0500 | [diff] [blame] | 33 | default "P2B-D" if BOARD_ASUS_P2B_D |
Keith Hui | b7c11c6 | 2020-02-02 20:36:26 -0500 | [diff] [blame] | 34 | default "P2B-DS" if BOARD_ASUS_P2B_DS |
Keith Hui | 7e269ad | 2020-02-02 19:23:47 -0500 | [diff] [blame] | 35 | default "P2B-F" if BOARD_ASUS_P2B_F |
Keith Hui | d6d9a4e | 2020-02-02 18:33:52 -0500 | [diff] [blame] | 36 | default "P2B-LS" if BOARD_ASUS_P2B_LS |
Keith Hui | edd3846 | 2020-04-19 00:55:48 -0400 | [diff] [blame] | 37 | default "P3B-F" if BOARD_ASUS_P3B_F |
Keith Hui | bf7d6f1 | 2020-02-02 18:03:22 -0500 | [diff] [blame] | 38 | |
| 39 | config VARIANT_DIR |
Keith Hui | bf7d6f1 | 2020-02-02 18:03:22 -0500 | [diff] [blame] | 40 | default "p2b" if BOARD_ASUS_P2B |
Keith Hui | 6f1494b | 2020-02-02 20:23:03 -0500 | [diff] [blame] | 41 | default "p2b-d" if BOARD_ASUS_P2B_D |
Keith Hui | b7c11c6 | 2020-02-02 20:36:26 -0500 | [diff] [blame] | 42 | default "p2b-ds" if BOARD_ASUS_P2B_DS |
Keith Hui | 7e269ad | 2020-02-02 19:23:47 -0500 | [diff] [blame] | 43 | default "p2b-f" if BOARD_ASUS_P2B_F |
Keith Hui | d6d9a4e | 2020-02-02 18:33:52 -0500 | [diff] [blame] | 44 | default "p2b-ls" if BOARD_ASUS_P2B_LS |
Keith Hui | edd3846 | 2020-04-19 00:55:48 -0400 | [diff] [blame] | 45 | default "p3b-f" if BOARD_ASUS_P3B_F |
Keith Hui | 7e269ad | 2020-02-02 19:23:47 -0500 | [diff] [blame] | 46 | |
Keith Hui | 4ec683d | 2020-03-28 21:54:17 -0400 | [diff] [blame] | 47 | config OVERRIDE_DEVICETREE |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 48 | default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 49 | |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 50 | config IRQ_SLOT_COUNT |
| 51 | int |
Keith Hui | edd3846 | 2020-04-19 00:55:48 -0400 | [diff] [blame] | 52 | default 8 if BOARD_ASUS_P2B_LS || BOARD_ASUS_P3B_F |
Keith Hui | b7c11c6 | 2020-02-02 20:36:26 -0500 | [diff] [blame] | 53 | default 7 if BOARD_ASUS_P2B_F || BOARD_ASUS_P2B_DS |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 54 | default 6 |
Uwe Hermann | bca3b92 | 2009-08-26 17:10:00 +0000 | [diff] [blame] | 55 | |
Keith Hui | bf7d6f1 | 2020-02-02 18:03:22 -0500 | [diff] [blame] | 56 | endif |