Author: uwe
Date: 2009-10-04 19:15:39 +0200 (Sun, 04 Oct 2009)
New Revision: 4719

Added:
   trunk/coreboot-v2/src/cpu/amd/model_gx1/Kconfig
   trunk/coreboot-v2/src/cpu/amd/model_gx1/Makefile.inc
   trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Kconfig
   trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Makefile.inc
   trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Kconfig
   trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Makefile.inc
   trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Kconfig
   trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Makefile.inc
   trunk/coreboot-v2/src/mainboard/axus/tc320/Kconfig
   trunk/coreboot-v2/src/mainboard/axus/tc320/Makefile.inc
   trunk/coreboot-v2/src/mainboard/bcom/winnet100/Kconfig
   trunk/coreboot-v2/src/mainboard/bcom/winnet100/Makefile.inc
   trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/Kconfig
   trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/Makefile.inc
   trunk/coreboot-v2/src/mainboard/iei/juki-511p/Kconfig
   trunk/coreboot-v2/src/mainboard/iei/juki-511p/Makefile.inc
   trunk/coreboot-v2/src/mainboard/iei/nova4899r/Kconfig
   trunk/coreboot-v2/src/mainboard/iei/nova4899r/Makefile.inc
   trunk/coreboot-v2/src/mainboard/televideo/tc7020/Kconfig
   trunk/coreboot-v2/src/mainboard/televideo/tc7020/Makefile.inc
   trunk/coreboot-v2/src/northbridge/amd/gx1/Kconfig
   trunk/coreboot-v2/src/northbridge/amd/gx1/Makefile.inc
Modified:
   trunk/coreboot-v2/src/Kconfig
   trunk/coreboot-v2/src/cpu/amd/Kconfig
   trunk/coreboot-v2/src/cpu/amd/Makefile.inc
   trunk/coreboot-v2/src/mainboard/Makefile.romccboard.inc
   trunk/coreboot-v2/src/mainboard/advantech/Kconfig
   trunk/coreboot-v2/src/mainboard/asi/Kconfig
   trunk/coreboot-v2/src/mainboard/axus/Kconfig
   trunk/coreboot-v2/src/mainboard/bcom/Kconfig
   trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/irq_tables.c
   trunk/coreboot-v2/src/mainboard/eaglelion/Kconfig
   trunk/coreboot-v2/src/mainboard/iei/Kconfig
   trunk/coreboot-v2/src/mainboard/iei/nova4899r/Options.lb
   trunk/coreboot-v2/src/mainboard/televideo/Kconfig
   trunk/coreboot-v2/src/northbridge/amd/Kconfig
   trunk/coreboot-v2/src/southbridge/amd/cs5530/Kconfig
Log:
Add initial kconfig support for all AMD GX1 boards.

Signed-off-by: Uwe Hermann <[email protected]>
Acked-by: Ronald G. Minnich <[email protected]>



Modified: trunk/coreboot-v2/src/Kconfig
===================================================================
--- trunk/coreboot-v2/src/Kconfig       2009-10-04 12:30:44 UTC (rev 4718)
+++ trunk/coreboot-v2/src/Kconfig       2009-10-04 17:15:39 UTC (rev 4719)
@@ -190,6 +190,10 @@
        bool
        default n
 
+config VIDEO_MB
+       int
+       default 0
+
 config USE_WATCHDOG_ON_BOOT
        bool
        default n

Modified: trunk/coreboot-v2/src/cpu/amd/Kconfig
===================================================================
--- trunk/coreboot-v2/src/cpu/amd/Kconfig       2009-10-04 12:30:44 UTC (rev 
4718)
+++ trunk/coreboot-v2/src/cpu/amd/Kconfig       2009-10-04 17:15:39 UTC (rev 
4719)
@@ -12,4 +12,5 @@
 source src/cpu/amd/socket_S1G1/Kconfig
 
 source src/cpu/amd/model_fxx/Kconfig
+source src/cpu/amd/model_gx1/Kconfig
 source src/cpu/amd/model_gx2/Kconfig

Modified: trunk/coreboot-v2/src/cpu/amd/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/cpu/amd/Makefile.inc  2009-10-04 12:30:44 UTC (rev 
4718)
+++ trunk/coreboot-v2/src/cpu/amd/Makefile.inc  2009-10-04 17:15:39 UTC (rev 
4719)
@@ -1,5 +1,6 @@
 subdirs-$(CONFIG_CPU_AMD_SOCKET_F) += socket_F
 subdirs-$(CONFIG_CPU_AMD_SOCKET_940) += socket_940
 subdirs-$(CONFIG_CPU_AMD_SOCKET_AM2) += socket_AM2
+subdirs-$(CONFIG_CPU_AMD_GX1) += model_gx1
 subdirs-$(CONFIG_CPU_AMD_GX2) += model_gx2
 subdirs-$(CONFIG_CPU_AMD_SOCKET_S1G1) += socket_S1G1

Added: trunk/coreboot-v2/src/cpu/amd/model_gx1/Kconfig
===================================================================
--- trunk/coreboot-v2/src/cpu/amd/model_gx1/Kconfig                             
(rev 0)
+++ trunk/coreboot-v2/src/cpu/amd/model_gx1/Kconfig     2009-10-04 17:15:39 UTC 
(rev 4719)
@@ -0,0 +1,24 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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 CPU_AMD_GX1
+       bool
+       default n
+

Added: trunk/coreboot-v2/src/cpu/amd/model_gx1/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/cpu/amd/model_gx1/Makefile.inc                        
        (rev 0)
+++ trunk/coreboot-v2/src/cpu/amd/model_gx1/Makefile.inc        2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,27 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+##
+
+subdirs-y += ../../x86/tsc
+subdirs-y += ../../x86/fpu
+subdirs-y += ../../x86/mmx
+subdirs-y += ../../x86/lapic
+subdirs-y += ../../x86/cache
+subdirs-y += ../../x86/smm
+driver-y += model_gx1_init.o

Modified: trunk/coreboot-v2/src/mainboard/Makefile.romccboard.inc
===================================================================
--- trunk/coreboot-v2/src/mainboard/Makefile.romccboard.inc     2009-10-04 
12:30:44 UTC (rev 4718)
+++ trunk/coreboot-v2/src/mainboard/Makefile.romccboard.inc     2009-10-04 
17:15:39 UTC (rev 4719)
@@ -26,9 +26,16 @@
 crt0-y += ../../../../src/arch/i386/lib/id.inc
 crt0-y += failover.inc
 crt0-y += ../../../../src/cpu/x86/fpu/enable_fpu.inc
+
+ifeq ($(CONFIG_CPU_AMD_GX1),y)
+crt0-y += ../../../../src/cpu/amd/model_gx1/cpu_setup.inc
+crt0-y += ../../../../src/cpu/amd/model_gx1/gx_setup.inc
+crt0-y += auto.inc
+else
 crt0-y += ../../../../src/cpu/x86/mmx/enable_mmx.inc
 crt0-y += auto.inc
 crt0-y += ../../../../src/cpu/x86/mmx/disable_mmx.inc
+endif
 
 ldscript-y += ../../../../src/arch/i386/init/ldscript_fallback_cbfs.lb
 ldscript-y += ../../../../src/cpu/x86/16bit/entry16.lds

Modified: trunk/coreboot-v2/src/mainboard/advantech/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/advantech/Kconfig   2009-10-04 12:30:44 UTC 
(rev 4718)
+++ trunk/coreboot-v2/src/mainboard/advantech/Kconfig   2009-10-04 17:15:39 UTC 
(rev 4719)
@@ -1 +1,28 @@
-#
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_ADVANTECH
+
+source "src/mainboard/advantech/pcm-5820/Kconfig"
+
+endchoice
+

Added: trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Kconfig                  
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Kconfig  2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,52 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_ADVANTECH_PCM_5820
+       bool "PCM-5820"
+       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 UDELAY_TSC
+       select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+
+config MAINBOARD_DIR
+       string
+       default advantech/pcm-5820
+       depends on BOARD_ADVANTECH_PCM_5820
+
+config MAINBOARD_PART_NUMBER
+       string
+       default "PCM-5820"
+       depends on BOARD_ADVANTECH_PCM_5820
+
+config HAVE_OPTION_TABLE
+       bool
+       default n
+       depends on BOARD_ADVANTECH_PCM_5820
+
+config IRQ_SLOT_COUNT
+       int
+       default 2
+       depends on BOARD_ADVANTECH_PCM_5820
+

Added: trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Makefile.inc             
                (rev 0)
+++ trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Makefile.inc     
2009-10-04 17:15:39 UTC (rev 4719)
@@ -0,0 +1,23 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+

Modified: trunk/coreboot-v2/src/mainboard/asi/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/asi/Kconfig 2009-10-04 12:30:44 UTC (rev 
4718)
+++ trunk/coreboot-v2/src/mainboard/asi/Kconfig 2009-10-04 17:15:39 UTC (rev 
4719)
@@ -1 +1,29 @@
-#
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_ASI
+
+source "src/mainboard/asi/mb_5blgp/Kconfig"
+source "src/mainboard/asi/mb_5blmp/Kconfig"
+
+endchoice
+

Added: trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Kconfig                        
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Kconfig        2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,52 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_ASI_MB_5BLGP
+       bool "MB-5BLGP"
+       select ARCH_X86
+       select CPU_AMD_GX1
+       select NORTHBRIDGE_AMD_GX1
+       select SOUTHBRIDGE_AMD_CS5530
+       select SUPERIO_NSC_PC87351
+       select HAVE_PIRQ_TABLE
+       select PIRQ_ROUTE
+       select UDELAY_TSC
+       select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+
+config MAINBOARD_DIR
+       string
+       default asi/mb_5blgp
+       depends on BOARD_ASI_MB_5BLGP
+
+config MAINBOARD_PART_NUMBER
+       string
+       default "MB-5BLGP"
+       depends on BOARD_ASI_MB_5BLGP
+
+config HAVE_OPTION_TABLE
+       bool
+       default n
+       depends on BOARD_ASI_MB_5BLGP
+
+config IRQ_SLOT_COUNT
+       int
+       default 3
+       depends on BOARD_ASI_MB_5BLGP
+

Added: trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Makefile.inc                   
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Makefile.inc   2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,23 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+

Added: trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Kconfig                        
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Kconfig        2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,52 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_ASI_MB_5BLMP
+       bool "MB-5BLMP"
+       select ARCH_X86
+       select CPU_AMD_GX1
+       select NORTHBRIDGE_AMD_GX1
+       select SOUTHBRIDGE_AMD_CS5530
+       select SUPERIO_NSC_PC87351
+       select HAVE_PIRQ_TABLE
+       select PIRQ_ROUTE
+       select UDELAY_TSC
+       select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+
+config MAINBOARD_DIR
+       string
+       default asi/mb_5blmp
+       depends on BOARD_ASI_MB_5BLMP
+
+config MAINBOARD_PART_NUMBER
+       string
+       default "MB-5BLMP"
+       depends on BOARD_ASI_MB_5BLMP
+
+config HAVE_OPTION_TABLE
+       bool
+       default n
+       depends on BOARD_ASI_MB_5BLMP
+
+config IRQ_SLOT_COUNT
+       int
+       default 5
+       depends on BOARD_ASI_MB_5BLMP
+

Added: trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Makefile.inc                   
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Makefile.inc   2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,23 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+

Modified: trunk/coreboot-v2/src/mainboard/axus/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/axus/Kconfig        2009-10-04 12:30:44 UTC 
(rev 4718)
+++ trunk/coreboot-v2/src/mainboard/axus/Kconfig        2009-10-04 17:15:39 UTC 
(rev 4719)
@@ -1 +1,28 @@
-#
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_AXUS
+
+source "src/mainboard/axus/tc320/Kconfig"
+
+endchoice
+

Added: trunk/coreboot-v2/src/mainboard/axus/tc320/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/axus/tc320/Kconfig                          
(rev 0)
+++ trunk/coreboot-v2/src/mainboard/axus/tc320/Kconfig  2009-10-04 17:15:39 UTC 
(rev 4719)
@@ -0,0 +1,53 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_AXUS_TC320
+       bool "TC320"
+       select ARCH_X86
+       select CPU_AMD_GX1
+       select NORTHBRIDGE_AMD_GX1
+       select SOUTHBRIDGE_AMD_CS5530
+       select SUPERIO_NSC_PC97317
+       select HAVE_PIRQ_TABLE
+       select PIRQ_ROUTE
+       select UDELAY_TSC
+       select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+
+config MAINBOARD_DIR
+       string
+       default axus/tc320
+       depends on BOARD_AXUS_TC320
+
+config MAINBOARD_PART_NUMBER
+       string
+       default "TC320"
+       depends on BOARD_AXUS_TC320
+
+config HAVE_OPTION_TABLE
+       bool
+       default n
+       depends on BOARD_AXUS_TC320
+
+# Soldered NIC, internal USB, no real PCI slots.
+config IRQ_SLOT_COUNT
+       int
+       default 2
+       depends on BOARD_AXUS_TC320
+

Added: trunk/coreboot-v2/src/mainboard/axus/tc320/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/mainboard/axus/tc320/Makefile.inc                     
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/axus/tc320/Makefile.inc     2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,23 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+

Modified: trunk/coreboot-v2/src/mainboard/bcom/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/bcom/Kconfig        2009-10-04 12:30:44 UTC 
(rev 4718)
+++ trunk/coreboot-v2/src/mainboard/bcom/Kconfig        2009-10-04 17:15:39 UTC 
(rev 4719)
@@ -1 +1,29 @@
-#
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_BCOM
+
+source "src/mainboard/bcom/winnet100/Kconfig"
+# source "src/mainboard/bcom/winnetp680/Kconfig"
+
+endchoice
+

Added: trunk/coreboot-v2/src/mainboard/bcom/winnet100/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/bcom/winnet100/Kconfig                      
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/bcom/winnet100/Kconfig      2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,53 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_BCOM_WINNET100
+       bool "WinNET100"
+       select ARCH_X86
+       select CPU_AMD_GX1
+       select NORTHBRIDGE_AMD_GX1
+       select SOUTHBRIDGE_AMD_CS5530
+       select SUPERIO_NSC_PC97317
+       select HAVE_PIRQ_TABLE
+       select PIRQ_ROUTE
+       select UDELAY_TSC
+       select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+
+config MAINBOARD_DIR
+       string
+       default bcom/winnet100
+       depends on BOARD_BCOM_WINNET100
+
+config MAINBOARD_PART_NUMBER
+       string
+       default "WinNET100"
+       depends on BOARD_BCOM_WINNET100
+
+config HAVE_OPTION_TABLE
+       bool
+       default n
+       depends on BOARD_BCOM_WINNET100
+
+# Soldered NIC, internal USB, no real PCI slots.
+config IRQ_SLOT_COUNT
+       int
+       default 2
+       depends on BOARD_BCOM_WINNET100
+

Added: trunk/coreboot-v2/src/mainboard/bcom/winnet100/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/mainboard/bcom/winnet100/Makefile.inc                 
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/bcom/winnet100/Makefile.inc 2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,23 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+

Added: trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/Kconfig                      
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/Kconfig      2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,52 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_EAGLELION_5BCM
+       bool "5BCM"
+       select ARCH_X86
+       select CPU_AMD_GX1
+       select NORTHBRIDGE_AMD_GX1
+       select SOUTHBRIDGE_AMD_CS5530
+       select SUPERIO_NSC_PC97317
+       select HAVE_PIRQ_TABLE
+       select PIRQ_ROUTE
+       select UDELAY_TSC
+       select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+
+config MAINBOARD_DIR
+       string
+       default eaglelion/5bcm
+       depends on BOARD_EAGLELION_5BCM
+
+config MAINBOARD_PART_NUMBER
+       string
+       default "5BCM"
+       depends on BOARD_EAGLELION_5BCM
+
+config HAVE_OPTION_TABLE
+       bool
+       default n
+       depends on BOARD_EAGLELION_5BCM
+
+config IRQ_SLOT_COUNT
+       int
+       default 2
+       depends on BOARD_EAGLELION_5BCM
+

Added: trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/Makefile.inc                 
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/Makefile.inc 2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,23 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+

Modified: trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/irq_tables.c
===================================================================
--- trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/irq_tables.c 2009-10-04 
12:30:44 UTC (rev 4718)
+++ trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/irq_tables.c 2009-10-04 
17:15:39 UTC (rev 4719)
@@ -10,7 +10,7 @@
 const struct irq_routing_table intel_irq_routing_table = {
        PIRQ_SIGNATURE,  /* u32 signature */
        PIRQ_VERSION,    /* u16 version   */
-       32+16*2,         /* there can be total 2 devices on the bus */
+       32+16*CONFIG_IRQ_SLOT_COUNT, /* there can be total 2 devices on the bus 
*/
        0x00,            /* Where the interrupt router lies (bus) */
        (0x12<<3)|0x0,   /* Where the interrupt router lies (dev) */
        0x800,           /* IRQs devoted exclusively to PCI usage */

Modified: trunk/coreboot-v2/src/mainboard/eaglelion/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/eaglelion/Kconfig   2009-10-04 12:30:44 UTC 
(rev 4718)
+++ trunk/coreboot-v2/src/mainboard/eaglelion/Kconfig   2009-10-04 17:15:39 UTC 
(rev 4719)
@@ -1 +1,28 @@
-#
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_EAGLELION
+
+source "src/mainboard/eaglelion/5bcm/Kconfig"
+
+endchoice
+

Modified: trunk/coreboot-v2/src/mainboard/iei/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/iei/Kconfig 2009-10-04 12:30:44 UTC (rev 
4718)
+++ trunk/coreboot-v2/src/mainboard/iei/Kconfig 2009-10-04 17:15:39 UTC (rev 
4719)
@@ -1 +1,29 @@
-#
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+

Added: trunk/coreboot-v2/src/mainboard/iei/juki-511p/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/iei/juki-511p/Kconfig                       
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/iei/juki-511p/Kconfig       2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,48 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+

Added: trunk/coreboot-v2/src/mainboard/iei/juki-511p/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/mainboard/iei/juki-511p/Makefile.inc                  
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/iei/juki-511p/Makefile.inc  2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,23 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+

Added: trunk/coreboot-v2/src/mainboard/iei/nova4899r/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/iei/nova4899r/Kconfig                       
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/iei/nova4899r/Kconfig       2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,48 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+

Added: trunk/coreboot-v2/src/mainboard/iei/nova4899r/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/mainboard/iei/nova4899r/Makefile.inc                  
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/iei/nova4899r/Makefile.inc  2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,23 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+

Modified: trunk/coreboot-v2/src/mainboard/iei/nova4899r/Options.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/iei/nova4899r/Options.lb    2009-10-04 
12:30:44 UTC (rev 4718)
+++ trunk/coreboot-v2/src/mainboard/iei/nova4899r/Options.lb    2009-10-04 
17:15:39 UTC (rev 4719)
@@ -82,7 +82,7 @@
 ## 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
 

Modified: trunk/coreboot-v2/src/mainboard/televideo/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/televideo/Kconfig   2009-10-04 12:30:44 UTC 
(rev 4718)
+++ trunk/coreboot-v2/src/mainboard/televideo/Kconfig   2009-10-04 17:15:39 UTC 
(rev 4719)
@@ -1 +1,28 @@
-#
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_TELEVIDEO
+
+source "src/mainboard/televideo/tc7020/Kconfig"
+
+endchoice
+

Added: trunk/coreboot-v2/src/mainboard/televideo/tc7020/Kconfig
===================================================================
--- trunk/coreboot-v2/src/mainboard/televideo/tc7020/Kconfig                    
        (rev 0)
+++ trunk/coreboot-v2/src/mainboard/televideo/tc7020/Kconfig    2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,52 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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_TELEVIDEO_TC7020
+       bool "TC7020"
+       select ARCH_X86
+       select CPU_AMD_GX1
+       select NORTHBRIDGE_AMD_GX1
+       select SOUTHBRIDGE_AMD_CS5530
+       select SUPERIO_NSC_PC97317
+       select HAVE_PIRQ_TABLE
+       select PIRQ_ROUTE
+       select UDELAY_TSC
+       select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+
+config MAINBOARD_DIR
+       string
+       default televideo/tc7020
+       depends on BOARD_TELEVIDEO_TC7020
+
+config MAINBOARD_PART_NUMBER
+       string
+       default "TC7020"
+       depends on BOARD_TELEVIDEO_TC7020
+
+config HAVE_OPTION_TABLE
+       bool
+       default n
+       depends on BOARD_TELEVIDEO_TC7020
+
+config IRQ_SLOT_COUNT
+       int
+       default 3
+       depends on BOARD_TELEVIDEO_TC7020
+

Added: trunk/coreboot-v2/src/mainboard/televideo/tc7020/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/mainboard/televideo/tc7020/Makefile.inc               
                (rev 0)
+++ trunk/coreboot-v2/src/mainboard/televideo/tc7020/Makefile.inc       
2009-10-04 17:15:39 UTC (rev 4719)
@@ -0,0 +1,23 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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
+

Modified: trunk/coreboot-v2/src/northbridge/amd/Kconfig
===================================================================
--- trunk/coreboot-v2/src/northbridge/amd/Kconfig       2009-10-04 12:30:44 UTC 
(rev 4718)
+++ trunk/coreboot-v2/src/northbridge/amd/Kconfig       2009-10-04 17:15:39 UTC 
(rev 4719)
@@ -1,5 +1,5 @@
 source src/northbridge/amd/amdk8/Kconfig
+source src/northbridge/amd/gx1/Kconfig
 source src/northbridge/amd/gx2/Kconfig
 source src/northbridge/amd/amdfam10/Kconfig
-#source src/northbridge/amd/gx1/Kconfig
 #source src/northbridge/amd/lx/Kconfig

Added: trunk/coreboot-v2/src/northbridge/amd/gx1/Kconfig
===================================================================
--- trunk/coreboot-v2/src/northbridge/amd/gx1/Kconfig                           
(rev 0)
+++ trunk/coreboot-v2/src/northbridge/amd/gx1/Kconfig   2009-10-04 17:15:39 UTC 
(rev 4719)
@@ -0,0 +1,24 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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 NORTHBRIDGE_AMD_GX1
+       bool
+       default n
+

Added: trunk/coreboot-v2/src/northbridge/amd/gx1/Makefile.inc
===================================================================
--- trunk/coreboot-v2/src/northbridge/amd/gx1/Makefile.inc                      
        (rev 0)
+++ trunk/coreboot-v2/src/northbridge/amd/gx1/Makefile.inc      2009-10-04 
17:15:39 UTC (rev 4719)
@@ -0,0 +1,22 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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 += northbridge.o
+

Modified: trunk/coreboot-v2/src/southbridge/amd/cs5530/Kconfig
===================================================================
--- trunk/coreboot-v2/src/southbridge/amd/cs5530/Kconfig        2009-10-04 
12:30:44 UTC (rev 4718)
+++ trunk/coreboot-v2/src/southbridge/amd/cs5530/Kconfig        2009-10-04 
17:15:39 UTC (rev 4719)
@@ -1,3 +1,76 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Uwe Hermann <[email protected]>
+##
+## 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 SOUTHBRIDGE_AMD_CS5530
        bool
        default n
+
+menu "AMD Geode GX1 video support"
+       depends on SOUTHBRIDGE_AMD_CS5530
+
+config GX1_VIDEO
+       bool "AMD Geode GX1 video mode support"
+       default y
+       depends on SOUTHBRIDGE_AMD_CS5530
+
+choice
+       prompt "AMD Geode GX1 video mode"
+       default GX1_VIDEOMODE_0
+       depends on GX1_VIDEO
+
+config GX1_VIDEOMODE_0
+       bool "640x480"
+config GX1_VIDEOMODE_1
+       bool "800x600"
+config GX1_VIDEOMODE_2
+       bool "1024x768"
+config GX1_VIDEOMODE_3
+       bool "1280x960"
+config GX1_VIDEOMODE_4
+       bool "1280x1024"
+
+endchoice
+
+config GX1_VIDEOMODE
+       int
+       default 0 if GX1_VIDEOMODE_0
+       default 1 if GX1_VIDEOMODE_1
+       default 2 if GX1_VIDEOMODE_2
+       default 3 if GX1_VIDEOMODE_3
+       default 4 if GX1_VIDEOMODE_4
+       depends on GX1_VIDEO
+
+# TODO: Check how much RAM each of the modes actually needs.
+config VIDEO_MB
+       int
+       default 2 if GX1_VIDEOMODE_0
+       default 2 if GX1_VIDEOMODE_1
+       default 2 if GX1_VIDEOMODE_2
+       default 2 if GX1_VIDEOMODE_3
+       default 2 if GX1_VIDEOMODE_4
+       depends on GX1_VIDEO
+
+config SPLASH_GRAPHIC
+       bool "Enable splash screen on AMD Geode GX1 boards"
+       default y
+       depends on GX1_VIDEO
+
+endmenu
+


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to