From 70b0cf23ce18371be96062476e4fdc88d4930683 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 4 Oct 2009 17:15:39 +0000 Subject: Add initial kconfig support for all AMD GX1 boards. Signed-off-by: Uwe Hermann Acked-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4719 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/advantech/Kconfig | 29 ++++++++++++++- src/mainboard/advantech/pcm-5820/Kconfig | 52 +++++++++++++++++++++++++++ src/mainboard/advantech/pcm-5820/Makefile.inc | 23 ++++++++++++ 3 files changed, 103 insertions(+), 1 deletion(-) create mode 100644 src/mainboard/advantech/pcm-5820/Kconfig create mode 100644 src/mainboard/advantech/pcm-5820/Makefile.inc (limited to 'src/mainboard/advantech') diff --git a/src/mainboard/advantech/Kconfig b/src/mainboard/advantech/Kconfig index 792d600548..51231c41d4 100644 --- a/src/mainboard/advantech/Kconfig +++ b/src/mainboard/advantech/Kconfig @@ -1 +1,28 @@ -# +## +## This file is part of the coreboot project. +## +## Copyright (C) 2009 Uwe Hermann +## +## 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 + diff --git a/src/mainboard/advantech/pcm-5820/Kconfig b/src/mainboard/advantech/pcm-5820/Kconfig new file mode 100644 index 0000000000..e051de7870 --- /dev/null +++ b/src/mainboard/advantech/pcm-5820/Kconfig @@ -0,0 +1,52 @@ +## +## This file is part of the coreboot project. +## +## Copyright (C) 2009 Uwe Hermann +## +## 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 + diff --git a/src/mainboard/advantech/pcm-5820/Makefile.inc b/src/mainboard/advantech/pcm-5820/Makefile.inc new file mode 100644 index 0000000000..800f7d4f14 --- /dev/null +++ b/src/mainboard/advantech/pcm-5820/Makefile.inc @@ -0,0 +1,23 @@ +## +## This file is part of the coreboot project. +## +## Copyright (C) 2009 Uwe Hermann +## +## 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 + -- cgit v1.2.3