aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/msi
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/msi
parentd7e49b40b14bc96a4b463fabd2f8021be63a3137 (diff)
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/msi')
-rw-r--r--src/mainboard/msi/Kconfig19
-rw-r--r--src/mainboard/msi/ms6119/Kconfig54
-rw-r--r--src/mainboard/msi/ms6119/Makefile.inc22
-rw-r--r--src/mainboard/msi/ms6147/Kconfig54
-rw-r--r--src/mainboard/msi/ms6147/Makefile.inc22
-rw-r--r--src/mainboard/msi/ms6178/Makefile.inc53
6 files changed, 155 insertions, 69 deletions
diff --git a/src/mainboard/msi/Kconfig b/src/mainboard/msi/Kconfig
index 885b15dd79..695cd7bfc6 100644
--- a/src/mainboard/msi/Kconfig
+++ b/src/mainboard/msi/Kconfig
@@ -21,22 +21,9 @@
choice
prompt "Mainboard model"
depends on VENDOR_MSI
-
-config BOARD_MSI_MS6178
- bool "MS-6178"
- select ARCH_X86
- select CPU_INTEL_SOCKET_PGA370
- select NORTHBRIDGE_INTEL_I82810
- select SOUTHBRIDGE_INTEL_I82801XX
- select SUPERIO_WINBOND_W83627HF
- select HAVE_PIRQ_TABLE
- help
- MSI MS-6178 mainboard.
+
+source "src/mainboard/msi/ms6119/Kconfig"
+source "src/mainboard/msi/ms6147/Kconfig"
endchoice
-config MAINBOARD_DIR
- string
- default msi/ms6178
- depends on BOARD_MSI_MS6178
-
diff --git a/src/mainboard/msi/ms6119/Kconfig b/src/mainboard/msi/ms6119/Kconfig
new file mode 100644
index 0000000000..81cb915f86
--- /dev/null
+++ b/src/mainboard/msi/ms6119/Kconfig
@@ -0,0 +1,54 @@
+##
+## 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_MSI_MS_6119
+ bool "MS-6119"
+ 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 UDELAY_IO
+ select PCI_ROM_RUN
+ select CONSOLE_VGA
+ help
+ MSI MS-6119 mainboard.
+
+config MAINBOARD_DIR
+ string
+ default msi/ms6119
+ depends on BOARD_MSI_MS_6119
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "MS-6119"
+ depends on BOARD_MSI_MS_6119
+
+config HAVE_OPTION_TABLE
+ bool
+ default n
+ depends on BOARD_MSI_MS_6119
+
+config IRQ_SLOT_COUNT
+ int
+ default 7
+ depends on BOARD_MSI_MS_6119
+
diff --git a/src/mainboard/msi/ms6119/Makefile.inc b/src/mainboard/msi/ms6119/Makefile.inc
new file mode 100644
index 0000000000..caa81b8b4e
--- /dev/null
+++ b/src/mainboard/msi/ms6119/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
+
diff --git a/src/mainboard/msi/ms6147/Kconfig b/src/mainboard/msi/ms6147/Kconfig
new file mode 100644
index 0000000000..189480803c
--- /dev/null
+++ b/src/mainboard/msi/ms6147/Kconfig
@@ -0,0 +1,54 @@
+##
+## 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_MSI_MS_6147
+ bool "MS-6147"
+ 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 UDELAY_IO
+ select PCI_ROM_RUN
+ select CONSOLE_VGA
+ help
+ MSI MS-6147 mainboard.
+
+config MAINBOARD_DIR
+ string
+ default msi/ms6147
+ depends on BOARD_MSI_MS_6147
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "MS-6147"
+ depends on BOARD_MSI_MS_6147
+
+config HAVE_OPTION_TABLE
+ bool
+ default n
+ depends on BOARD_MSI_MS_6147
+
+config IRQ_SLOT_COUNT
+ int
+ default 8
+ depends on BOARD_MSI_MS_6147
+
diff --git a/src/mainboard/msi/ms6147/Makefile.inc b/src/mainboard/msi/ms6147/Makefile.inc
new file mode 100644
index 0000000000..caa81b8b4e
--- /dev/null
+++ b/src/mainboard/msi/ms6147/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
+
diff --git a/src/mainboard/msi/ms6178/Makefile.inc b/src/mainboard/msi/ms6178/Makefile.inc
deleted file mode 100644
index bc322d4f0d..0000000000
--- a/src/mainboard/msi/ms6178/Makefile.inc
+++ /dev/null
@@ -1,53 +0,0 @@
-##
-## 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
-##
-
-driver-y += mainboard.o
-
-obj-$(CONFIG_HAVE_MP_TABLE) += mptable.o
-obj-$(CONFIG_HAVE_PIRQ_TABLE) += irq_tables.o
-
-initobj-y += ../../../arch/i386/init/entry.o
-initobj-y += ../../../cpu/intel/model_6ex/car.o # FIXME. romcc.
-# initobj-y += ../../../arch/i386/init/rombootstrap.o
-# initobj-y += ../../../cpu/intel/model_6ex/disable_car.o
-initobj-y += ../../../pc80/mc146818rtc_early.o
-initobj-y += ../../../arch/i386/lib/console.o
-initobj-y += ../../../arch/i386/lib/console_printk.o
-# initobj-y += ../../../ram/ramtest.o # FIXME
-initobj-y += ../../../southbridge/intel/i82801xx/i82801xx_early_smbus.o
-initobj-y += ../../../southbridge/intel/i82801xx/i82801xx_reset.o
-initobj-y += ../../../superio/winbond/w83627hf/w83627hf_early_serial.o
-initobj-y += ../../../northbridge/intel/i82810/raminit.o
-
-ifdef POST_EVALUATION
-
-# FIXME: Drop DCACHE_RAM_BASE/DCACHE_RAM_SIZE, only here to make it build.
-MAINBOARD_OPTIONS=\
- -DCONFIG_USE_PRINTK_IN_CAR=1 \
- -DCONFIG_HAVE_HIGH_TABLES=1 \
- -DCONFIG_MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0 \
- -DCONFIG_MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0 \
- -DCONFIG_MAINBOARD_VENDOR=\"MSI\" \
- -DCONFIG_MAINBOARD_PART_NUMBER=\"MS-6178\" \
- -DCONFIG_DCACHE_RAM_BASE=0xffdf8000 \
- -DCONFIG_DCACHE_RAM_SIZE=0x8000
-
-endif
-