summaryrefslogtreecommitdiff
path: root/src/mainboard/iei
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-10-04 17:15:39 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-10-04 17:15:39 +0000
commit70b0cf23ce18371be96062476e4fdc88d4930683 (patch)
treeb1a0cef621a4c98d538c4e3a573ae3a5a522a99a /src/mainboard/iei
parent5bb10282e978dd811246c921a16e535babfbac9a (diff)
Add initial kconfig support for all AMD GX1 boards.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4719 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/iei')
-rw-r--r--src/mainboard/iei/Kconfig30
-rw-r--r--src/mainboard/iei/juki-511p/Kconfig48
-rw-r--r--src/mainboard/iei/juki-511p/Makefile.inc23
-rw-r--r--src/mainboard/iei/nova4899r/Kconfig48
-rw-r--r--src/mainboard/iei/nova4899r/Makefile.inc23
-rw-r--r--src/mainboard/iei/nova4899r/Options.lb2
6 files changed, 172 insertions, 2 deletions
diff --git a/src/mainboard/iei/Kconfig b/src/mainboard/iei/Kconfig
index 792d600548..f12c202e13 100644
--- a/src/mainboard/iei/Kconfig
+++ b/src/mainboard/iei/Kconfig
@@ -1 +1,29 @@
-#
+##
+## 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
+##
+
+choice
+ prompt "Mainboard model"
+ depends on VENDOR_IEI
+
+source "src/mainboard/iei/juki-511p/Kconfig"
+source "src/mainboard/iei/nova4899r/Kconfig"
+
+endchoice
+
diff --git a/src/mainboard/iei/juki-511p/Kconfig b/src/mainboard/iei/juki-511p/Kconfig
new file mode 100644
index 0000000000..3852aa3e29
--- /dev/null
+++ b/src/mainboard/iei/juki-511p/Kconfig
@@ -0,0 +1,48 @@
+##
+## 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_IEI_JUKI_511P
+ bool "JUKI-511P"
+ select ARCH_X86
+ select CPU_AMD_GX1
+ select NORTHBRIDGE_AMD_GX1
+ select SOUTHBRIDGE_AMD_CS5530
+ select SUPERIO_WINBOND_W83977F
+ select HAVE_PIRQ_TABLE
+ select PIRQ_ROUTE
+ select HAVE_OPTION_TABLE
+ select UDELAY_TSC
+ select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+
+config MAINBOARD_DIR
+ string
+ default iei/juki-511p
+ depends on BOARD_IEI_JUKI_511P
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "JUKI-511P"
+ depends on BOARD_IEI_JUKI_511P
+
+config IRQ_SLOT_COUNT
+ int
+ default 2
+ depends on BOARD_IEI_JUKI_511P
+
diff --git a/src/mainboard/iei/juki-511p/Makefile.inc b/src/mainboard/iei/juki-511p/Makefile.inc
new file mode 100644
index 0000000000..800f7d4f14
--- /dev/null
+++ b/src/mainboard/iei/juki-511p/Makefile.inc
@@ -0,0 +1,23 @@
+##
+## 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
+##
+
+ROMCCFLAGS := -mcpu=i386
+include $(src)/mainboard/Makefile.romccboard.inc
+
diff --git a/src/mainboard/iei/nova4899r/Kconfig b/src/mainboard/iei/nova4899r/Kconfig
new file mode 100644
index 0000000000..2aa7149434
--- /dev/null
+++ b/src/mainboard/iei/nova4899r/Kconfig
@@ -0,0 +1,48 @@
+##
+## 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_IEI_NOVA_4899R
+ bool "NOVA-4899R"
+ select ARCH_X86
+ select CPU_AMD_GX1
+ select NORTHBRIDGE_AMD_GX1
+ select SOUTHBRIDGE_AMD_CS5530
+ select SUPERIO_WINBOND_W83977TF
+ select HAVE_PIRQ_TABLE
+ select PIRQ_ROUTE
+ select HAVE_OPTION_TABLE
+ select UDELAY_TSC
+ select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+
+config MAINBOARD_DIR
+ string
+ default iei/nova4899r
+ depends on BOARD_IEI_NOVA_4899R
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "NOVA-4899R"
+ depends on BOARD_IEI_NOVA_4899R
+
+config IRQ_SLOT_COUNT
+ int
+ default 5
+ depends on BOARD_IEI_NOVA_4899R
+
diff --git a/src/mainboard/iei/nova4899r/Makefile.inc b/src/mainboard/iei/nova4899r/Makefile.inc
new file mode 100644
index 0000000000..800f7d4f14
--- /dev/null
+++ b/src/mainboard/iei/nova4899r/Makefile.inc
@@ -0,0 +1,23 @@
+##
+## 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
+##
+
+ROMCCFLAGS := -mcpu=i386
+include $(src)/mainboard/Makefile.romccboard.inc
+
diff --git a/src/mainboard/iei/nova4899r/Options.lb b/src/mainboard/iei/nova4899r/Options.lb
index 88c67e024f..2b8276c27f 100644
--- a/src/mainboard/iei/nova4899r/Options.lb
+++ b/src/mainboard/iei/nova4899r/Options.lb
@@ -82,7 +82,7 @@ default CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2=1
## Build code to export a programmable irq routing table
##
default CONFIG_HAVE_PIRQ_TABLE=1
-default CONFIG_IRQ_SLOT_COUNT=7
+default CONFIG_IRQ_SLOT_COUNT=5
default CONFIG_PIRQ_ROUTE=1
#object irq_tables.o