summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/gx2
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2009-08-28 14:46:59 +0000
committerRonald G. Minnich <rminnich@gmail.com>2009-08-28 14:46:59 +0000
commit07b8c2d26bbbe5b6bb9b96175a7174bf66c75f02 (patch)
tree62c72686300cce75cd9ecd4ced37beec6b5cafca /src/northbridge/amd/gx2
parent0d5ced0e23d7c35207ce0b1f0b213bc29cef6534 (diff)
This is the beginning of support for Geode and Kconfig in v2.
It also brings in the vsm from v3, which was a much cleaner cut. Over time, I hope to bring all the code back from v3. I have some rumbas at home and want to use them. I have a patch which comes in next that makes the rumba build. Note that I am holding the src/*/amd/Kconfig patch until these get merged. These have no impact on the current system. Note that this is not complete but I want to fill in the blanks bit by bit. Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4611 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd/gx2')
-rw-r--r--src/northbridge/amd/gx2/Kconfig27
-rw-r--r--src/northbridge/amd/gx2/Makefile.inc4
-rw-r--r--src/northbridge/amd/gx2/northbridge.c3
3 files changed, 31 insertions, 3 deletions
diff --git a/src/northbridge/amd/gx2/Kconfig b/src/northbridge/amd/gx2/Kconfig
new file mode 100644
index 0000000000..4d68db10d7
--- /dev/null
+++ b/src/northbridge/amd/gx2/Kconfig
@@ -0,0 +1,27 @@
+#
+# This file is part of the coreboot project.
+#
+# Copyright (C) 2007-2009 coresystems GmbH
+#
+# 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; version 2 of the License.
+#
+# 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_GX2
+ bool
+ default n
+
+config HAVE_HIGH_TABLES
+ bool
+ default y
+
diff --git a/src/northbridge/amd/gx2/Makefile.inc b/src/northbridge/amd/gx2/Makefile.inc
new file mode 100644
index 0000000000..eb8a5dbc2d
--- /dev/null
+++ b/src/northbridge/amd/gx2/Makefile.inc
@@ -0,0 +1,4 @@
+driver-y += northbridge.o
+obj-y += northbridgeinit.o
+obj-y += chipsetinit.o
+obj-y += grphinit.o
diff --git a/src/northbridge/amd/gx2/northbridge.c b/src/northbridge/amd/gx2/northbridge.c
index 52851cfcc9..f6e862a9b7 100644
--- a/src/northbridge/amd/gx2/northbridge.c
+++ b/src/northbridge/amd/gx2/northbridge.c
@@ -486,7 +486,6 @@ static void enable_dev(struct device *dev)
printk_debug("gx2 north: enable_dev\n");
void northbridgeinit(void);
void chipsetinit(struct northbridge_amd_gx2_config *nb);
- void setup_realmode_idt(void);
void do_vsmbios(void);
/* Set the operations if it is a special bus type */
if (dev->path.type == DEVICE_PATH_PCI_DOMAIN) {
@@ -499,8 +498,6 @@ static void enable_dev(struct device *dev)
cpubug();
chipsetinit(nb);
setup_gx2();
- /* do this here for now -- this chip really breaks our device model */
- setup_realmode_idt();
do_vsmbios();
graphics_init();
dev->ops = &pci_domain_ops;