blob: 3895990eaa4dc1ea548d88091fc05623e32367bb [file] [log] [blame]
Uwe Hermannbca3b922009-08-26 17:10:00 +00001##
2## This file is part of the coreboot project.
3##
Uwe Hermannbca3b922009-08-26 17:10:00 +00004##
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 Jacobsdd6ad342010-05-14 09:48:05 +00007## the Free Software Foundation; version 2 of the License.
Uwe Hermannbca3b922009-08-26 17:10:00 +00008##
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 Huib7c11c62020-02-02 20:36:26 -050014if BOARD_ASUS_P2B || BOARD_ASUS_P2B_D || BOARD_ASUS_P2B_DS || BOARD_ASUS_P2B_F || BOARD_ASUS_P2B_LS
Keith Hui6f1494b2020-02-02 20:23:03 -050015
16config BASE_ASUS_P2B_D
17 def_bool n
18 select SDRAMPWR_4DIMM
19 select HAVE_MP_TABLE
20 select IOAPIC
21 select SMP
Uwe Hermannbca3b922009-08-26 17:10:00 +000022
Elyes HAOUASf0c5be22018-11-27 20:36:44 +010023config BOARD_SPECIFIC_OPTIONS
Jens Rottmann9a684fc2010-08-30 16:36:51 +000024 def_bool y
Uwe Hermann53c72762010-03-13 20:36:11 +000025 select CPU_INTEL_SLOT_1
Uwe Hermannbca3b922009-08-26 17:10:00 +000026 select NORTHBRIDGE_INTEL_I440BX
27 select SOUTHBRIDGE_INTEL_I82371EB
28 select SUPERIO_WINBOND_W83977TF
29 select HAVE_PIRQ_TABLE
Uwe Hermannd65509d2009-10-16 17:37:20 +000030 select BOARD_ROMSIZE_KB_256
Keith Huid6d9a4e2020-02-02 18:33:52 -050031 select SDRAMPWR_4DIMM if BOARD_ASUS_P2B_LS
32 select HAVE_ACPI_TABLES if BOARD_ASUS_P2B || BOARD_ASUS_P2B_LS
Keith Huib7c11c62020-02-02 20:36:26 -050033 select BASE_ASUS_P2B_D if BOARD_ASUS_P2B_D || BOARD_ASUS_P2B_DS
Keith Hui6f1494b2020-02-02 20:23:03 -050034
35config MAX_CPUS
36 int
37 default 2 if BASE_ASUS_P2B_D
Uwe Hermannbca3b922009-08-26 17:10:00 +000038
39config MAINBOARD_DIR
40 string
Patrick Georgi0bb83462019-11-22 20:58:58 +010041 default "asus/p2b"
Uwe Hermannbca3b922009-08-26 17:10:00 +000042
43config MAINBOARD_PART_NUMBER
44 string
Keith Huibf7d6f12020-02-02 18:03:22 -050045 default "P2B" if BOARD_ASUS_P2B
Keith Hui6f1494b2020-02-02 20:23:03 -050046 default "P2B-D" if BOARD_ASUS_P2B_D
Keith Huib7c11c62020-02-02 20:36:26 -050047 default "P2B-DS" if BOARD_ASUS_P2B_DS
Keith Hui7e269ad2020-02-02 19:23:47 -050048 default "P2B-F" if BOARD_ASUS_P2B_F
Keith Huid6d9a4e2020-02-02 18:33:52 -050049 default "P2B-LS" if BOARD_ASUS_P2B_LS
Keith Huibf7d6f12020-02-02 18:03:22 -050050
51config VARIANT_DIR
52 string
53 default "p2b" if BOARD_ASUS_P2B
Keith Hui6f1494b2020-02-02 20:23:03 -050054 default "p2b-d" if BOARD_ASUS_P2B_D
Keith Huib7c11c62020-02-02 20:36:26 -050055 default "p2b-ds" if BOARD_ASUS_P2B_DS
Keith Hui7e269ad2020-02-02 19:23:47 -050056 default "p2b-f" if BOARD_ASUS_P2B_F
Keith Huid6d9a4e2020-02-02 18:33:52 -050057 default "p2b-ls" if BOARD_ASUS_P2B_LS
Keith Hui7e269ad2020-02-02 19:23:47 -050058
59config DEVICETREE
60 string
61 default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb" if ! BOARD_ASUS_P2B
Uwe Hermannbca3b922009-08-26 17:10:00 +000062
Uwe Hermannbca3b922009-08-26 17:10:00 +000063config IRQ_SLOT_COUNT
64 int
Keith Huid6d9a4e2020-02-02 18:33:52 -050065 default 8 if BOARD_ASUS_P2B_LS
Keith Huib7c11c62020-02-02 20:36:26 -050066 default 7 if BOARD_ASUS_P2B_F || BOARD_ASUS_P2B_DS
Uwe Hermannbca3b922009-08-26 17:10:00 +000067 default 6
Uwe Hermannbca3b922009-08-26 17:10:00 +000068
Keith Huibf7d6f12020-02-02 18:03:22 -050069endif