summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/p2b-d
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-08-26 17:10:00 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-08-26 17:10:00 +0000
commitbca3b92df2b4af91d08a7bde76e4a98a9671d946 (patch)
treebd1077b7abf862505c08552c1cdb6ba39fef3f9d /src/mainboard/asus/p2b-d
parentd7e49b40b14bc96a4b463fabd2f8021be63a3137 (diff)
downloadcoreboot-bca3b92df2b4af91d08a7bde76e4a98a9671d946.tar.xz
Add kconfig support for all missing Intel 440BX based boards.
This includes: soyo/sy-6ba-plus-iii a-trend/atc-6240 a-trend/atc-6220 gigabyte/ga-6bxc biostar/m6tba azza/pt-6ibd tyan/s1846 abit/be6-ii_v2_0 compaq/deskpro_en_sff_p600msi/ms6119 msi/ms6147 asus/p2b asus/p2b-d asus/p2b-ds asus/p3b-f The Makefile.inc for all of them are _exactly_ the same, so I made a common src/mainboard/Makefile.romccboard.inc (maybe needs a nicer name). I also suspect that many other romcc-based boards will be able to re-use this Makefile.inc. Apart from the board name, most boards only differ in the Super I/O that's being used and the IRQ_SLOT_COUNT value. The Tyan S1846 is a bit different as it doesn't have an irq_tables.c. I also dropped the broken MS-6178 kconfig stuff for now, I'll submit a proper config in another patch. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Myles Watson <mylesgw@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4587 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/asus/p2b-d')
-rw-r--r--src/mainboard/asus/p2b-d/Kconfig62
-rw-r--r--src/mainboard/asus/p2b-d/Makefile.inc22
2 files changed, 84 insertions, 0 deletions
diff --git a/src/mainboard/asus/p2b-d/Kconfig b/src/mainboard/asus/p2b-d/Kconfig
new file mode 100644
index 0000000000..111c6540cb
--- /dev/null
+++ b/src/mainboard/asus/p2b-d/Kconfig
@@ -0,0 +1,62 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## 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; either version 2 of the License, or
+## (at your option) any later version.
+##
+## 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.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+config BOARD_ASUS_P2B_D
+ bool "P2B-D"
+ select ARCH_X86
+ select CPU_INTEL_SLOT_2
+ select NORTHBRIDGE_INTEL_I440BX
+ select SOUTHBRIDGE_INTEL_I82371EB
+ select SUPERIO_WINBOND_W83977TF
+ select HAVE_PIRQ_TABLE
+ select HAVE_MP_TABLE
+ select SMP
+ select IOAPIC
+ select UDELAY_IO
+ select PCI_ROM_RUN
+ select CONSOLE_VGA
+ help
+ ASUS P2B-D mainboard.
+
+config MAINBOARD_DIR
+ string
+ default asus/p2b-d
+ depends on BOARD_ASUS_P2B_D
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "P2B-D"
+ depends on BOARD_ASUS_P2B_D
+
+config HAVE_OPTION_TABLE
+ bool
+ default n
+ depends on BOARD_ASUS_P2B_D
+
+config IRQ_SLOT_COUNT
+ int
+ default 6
+ depends on BOARD_ASUS_P2B_D
+
+config MAX_CPUS
+ int
+ default 2
+ depends on BOARD_ASUS_P2B_D
+
diff --git a/src/mainboard/asus/p2b-d/Makefile.inc b/src/mainboard/asus/p2b-d/Makefile.inc
new file mode 100644
index 0000000000..caa81b8b4e
--- /dev/null
+++ b/src/mainboard/asus/p2b-d/Makefile.inc
@@ -0,0 +1,22 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
+##
+## 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; either version 2 of the License, or
+## (at your option) any later version.
+##
+## 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.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+##
+
+include $(src)/mainboard/Makefile.romccboard.inc
+