diff options
Diffstat (limited to 'src/mainboard/asus')
-rw-r--r-- | src/mainboard/asus/Kconfig | 3 | ||||
-rw-r--r-- | src/mainboard/asus/p2b-d/Kconfig | 62 | ||||
-rw-r--r-- | src/mainboard/asus/p2b-d/Makefile.inc | 22 | ||||
-rw-r--r-- | src/mainboard/asus/p2b-ds/Kconfig | 62 | ||||
-rw-r--r-- | src/mainboard/asus/p2b-ds/Makefile.inc | 22 | ||||
-rw-r--r-- | src/mainboard/asus/p2b-f/Kconfig | 5 | ||||
-rw-r--r-- | src/mainboard/asus/p2b-f/Makefile.inc | 34 | ||||
-rw-r--r-- | src/mainboard/asus/p2b/Kconfig | 54 | ||||
-rw-r--r-- | src/mainboard/asus/p2b/Makefile.inc | 22 | ||||
-rw-r--r-- | src/mainboard/asus/p3b-f/Kconfig | 54 | ||||
-rw-r--r-- | src/mainboard/asus/p3b-f/Makefile.inc | 22 |
11 files changed, 324 insertions, 38 deletions
diff --git a/src/mainboard/asus/Kconfig b/src/mainboard/asus/Kconfig index 6ada055293..ea7184db1b 100644 --- a/src/mainboard/asus/Kconfig +++ b/src/mainboard/asus/Kconfig @@ -22,7 +22,10 @@ choice prompt "Mainboard model" depends on VENDOR_ASUS +source "src/mainboard/asus/p2b/Kconfig" +source "src/mainboard/asus/p2b-d/Kconfig" source "src/mainboard/asus/p2b-f/Kconfig" +source "src/mainboard/asus/p3b-f/Kconfig" source "src/mainboard/asus/m2v-mx_se/Kconfig" endchoice 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 + diff --git a/src/mainboard/asus/p2b-ds/Kconfig b/src/mainboard/asus/p2b-ds/Kconfig new file mode 100644 index 0000000000..f139604ecf --- /dev/null +++ b/src/mainboard/asus/p2b-ds/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_DS + bool "P2B-DS" + 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-DS mainboard. + +config MAINBOARD_DIR + string + default asus/p2b-ds + depends on BOARD_ASUS_P2B_DS + +config MAINBOARD_PART_NUMBER + string + default "P2B-DS" + depends on BOARD_ASUS_P2B_DS + +config HAVE_OPTION_TABLE + bool + default n + depends on BOARD_ASUS_P2B_DS + +config IRQ_SLOT_COUNT + int + default 7 + depends on BOARD_ASUS_P2B_DS + +config MAX_CPUS + int + default 2 + depends on BOARD_ASUS_P2B_DS + diff --git a/src/mainboard/asus/p2b-ds/Makefile.inc b/src/mainboard/asus/p2b-ds/Makefile.inc new file mode 100644 index 0000000000..caa81b8b4e --- /dev/null +++ b/src/mainboard/asus/p2b-ds/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/asus/p2b-f/Kconfig b/src/mainboard/asus/p2b-f/Kconfig index 3c0f26d679..735166189d 100644 --- a/src/mainboard/asus/p2b-f/Kconfig +++ b/src/mainboard/asus/p2b-f/Kconfig @@ -37,11 +37,6 @@ config MAINBOARD_DIR default asus/p2b-f depends on BOARD_ASUS_P2B_F -config MAINBOARD_VENDOR - string - default "ASUS" - depends on BOARD_ASUS_P2B_F - config MAINBOARD_PART_NUMBER string default "P2B-F" diff --git a/src/mainboard/asus/p2b-f/Makefile.inc b/src/mainboard/asus/p2b-f/Makefile.inc index ce52ed884d..caa81b8b4e 100644 --- a/src/mainboard/asus/p2b-f/Makefile.inc +++ b/src/mainboard/asus/p2b-f/Makefile.inc @@ -18,37 +18,5 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -initobj-y += crt0.o -crt0-y += ../../../../src/cpu/x86/16bit/entry16.inc -crt0-y += ../../../../src/cpu/x86/32bit/entry32.inc -crt0-y += ../../../../src/cpu/x86/16bit/reset16.inc -crt0-y += ../../../../src/arch/i386/lib/cpu_reset.inc -crt0-y += ../../../../src/arch/i386/lib/id.inc -crt0-y += failover.inc -crt0-y += ../../../../src/cpu/x86/fpu/enable_fpu.inc -crt0-y += ../../../../src/cpu/x86/mmx/enable_mmx.inc -crt0-y += auto.inc -crt0-y += ../../../../src/cpu/x86/mmx/disable_mmx.inc - -ldscript-y += ../../../../src/arch/i386/init/ldscript_fallback_cbfs.lb -ldscript-y += ../../../../src/cpu/x86/16bit/entry16.lds -ldscript-y += ../../../../src/cpu/x86/32bit/entry32.lds -ldscript-y += ../../../../src/cpu/x86/16bit/reset16.lds -ldscript-y += ../../../../src/arch/i386/lib/id.lds -ldscript-y += ../../../../src/arch/i386/lib/failover.lds - -driver-y += mainboard.o - -obj-$(CONFIG_HAVE_MP_TABLE) += mptable.o -obj-$(CONFIG_HAVE_PIRQ_TABLE) += irq_tables.o - -ifdef POST_EVALUATION - -$(obj)/mainboard/$(MAINBOARDDIR)/failover.inc: $(obj)/romcc $(src)/arch/i386/lib/failover.c - $(obj)/romcc -mcpu=p2 -O2 --label-prefix=failover $(INCLUDES) $(src)/arch/i386/lib/failover.c -o $@ - -$(obj)/mainboard/$(MAINBOARDDIR)/auto.inc: $(obj)/romcc $(src)/mainboard/$(MAINBOARDDIR)/auto.c - $(obj)/romcc -mcpu=p2 -O2 $(INCLUDES) $(src)/mainboard/$(MAINBOARDDIR)/auto.c -o $@ - -endif +include $(src)/mainboard/Makefile.romccboard.inc diff --git a/src/mainboard/asus/p2b/Kconfig b/src/mainboard/asus/p2b/Kconfig new file mode 100644 index 0000000000..5385378108 --- /dev/null +++ b/src/mainboard/asus/p2b/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_ASUS_P2B + bool "P2B" + 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 + ASUS P2B mainboard. + +config MAINBOARD_DIR + string + default asus/p2b + depends on BOARD_ASUS_P2B + +config MAINBOARD_PART_NUMBER + string + default "P2B" + depends on BOARD_ASUS_P2B + +config HAVE_OPTION_TABLE + bool + default n + depends on BOARD_ASUS_P2B + +config IRQ_SLOT_COUNT + int + default 6 + depends on BOARD_ASUS_P2B + diff --git a/src/mainboard/asus/p2b/Makefile.inc b/src/mainboard/asus/p2b/Makefile.inc new file mode 100644 index 0000000000..caa81b8b4e --- /dev/null +++ b/src/mainboard/asus/p2b/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/asus/p3b-f/Kconfig b/src/mainboard/asus/p3b-f/Kconfig new file mode 100644 index 0000000000..bffafbb274 --- /dev/null +++ b/src/mainboard/asus/p3b-f/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_ASUS_P3B_F + bool "P3B-F" + 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 + ASUS P3B-F mainboard. + +config MAINBOARD_DIR + string + default asus/p3b-f + depends on BOARD_ASUS_P3B_F + +config MAINBOARD_PART_NUMBER + string + default "P3B-F" + depends on BOARD_ASUS_P3B_F + +config HAVE_OPTION_TABLE + bool + default n + depends on BOARD_ASUS_P3B_F + +config IRQ_SLOT_COUNT + int + default 8 + depends on BOARD_ASUS_P3B_F + diff --git a/src/mainboard/asus/p3b-f/Makefile.inc b/src/mainboard/asus/p3b-f/Makefile.inc new file mode 100644 index 0000000000..caa81b8b4e --- /dev/null +++ b/src/mainboard/asus/p3b-f/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 + |