summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2009-08-12 15:56:17 +0000
committerRonald G. Minnich <rminnich@gmail.com>2009-08-12 15:56:17 +0000
commitfd4519b5ef086fbec60041570c6c9d73d6a80a79 (patch)
tree711ec4ccd8f0e9c785cd3fddd0f2aa9dd1161996 /src/northbridge
parent5f6572ec8bc6eb2acd3a7882445913b0b9fe0d91 (diff)
downloadcoreboot-fd4519b5ef086fbec60041570c6c9d73d6a80a79.tar.xz
This now builds.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/Kconfig2
-rw-r--r--src/northbridge/Makefile.inc2
-rw-r--r--src/northbridge/amd/Makefile.inc14
-rw-r--r--src/northbridge/amd/amdk8/Kconfig11
-rw-r--r--src/northbridge/amd/amdk8/Makefile.inc30
5 files changed, 50 insertions, 9 deletions
diff --git a/src/northbridge/Kconfig b/src/northbridge/Kconfig
index 666ff4d112..0c13d45113 100644
--- a/src/northbridge/Kconfig
+++ b/src/northbridge/Kconfig
@@ -1,4 +1,4 @@
-#source src/northbridge/amd/Kconfig
+source src/northbridge/amd/Kconfig
#source src/northbridge/ibm/Kconfig
source src/northbridge/intel/Kconfig
#source src/northbridge/motorola/Kconfig
diff --git a/src/northbridge/Makefile.inc b/src/northbridge/Makefile.inc
index 8aac9b9401..3d876b38d5 100644
--- a/src/northbridge/Makefile.inc
+++ b/src/northbridge/Makefile.inc
@@ -1,4 +1,4 @@
-#subdirs-y += amd
+subdirs-y += amd
#subdirs-y += ibm
subdirs-y += intel
#subdirs-y += motorola
diff --git a/src/northbridge/amd/Makefile.inc b/src/northbridge/amd/Makefile.inc
index 06e931482a..88ee1e6568 100644
--- a/src/northbridge/amd/Makefile.inc
+++ b/src/northbridge/amd/Makefile.inc
@@ -1,8 +1,8 @@
-subdirs-$(CPU_AMD_K10) += amdfam10
-subdirs-$(CPU_AMD_HT) += amdht
-subdirs-$(CPU_AMD_K8) += amdk8
-subdirs-$(CPU_AMD_MCT) += amdmct
-subdirs-$(CPU_AMD_GX1) += gx1
-subdirs-$(CPU_AMD_GX2) += gx2
-subdirs-$(CPU_AMD_LX) += lx
+subdirs-$(CONFIG_NORTHBRIDGE_AMD_AMDFAM10) += amdfam10
+subdirs-$(CONFIG_NORTHBRIDGE_AMD_AMDHT) += amdht
+subdirs-$(CONFIG_NORTHBRIDGE_AMD_AMDK8) += amdk8
+subdirs-$(CONFIG_NORTHBRIDGE_AMD_AMDMCT) += amdmct
+subdirs-$(CONFIG_NORTHBRIDGE_AMD_GX1) += gx1
+subdirs-$(CONFIG_NORTHBRIDGE_AMD_GX2) += gx2
+subdirs-$(CONFIG_NORTHBRIDGE_AMD_LX) += lx
diff --git a/src/northbridge/amd/amdk8/Kconfig b/src/northbridge/amd/amdk8/Kconfig
index 171f1f50ee..181f1c219a 100644
--- a/src/northbridge/amd/amdk8/Kconfig
+++ b/src/northbridge/amd/amdk8/Kconfig
@@ -20,3 +20,14 @@
config NORTHBRIDGE_AMD_AMDK8
bool
default n
+
+config AGP_APERTURE_SIZE
+ hex
+ default 0x4000000
+
+config HAVE_HIGH_TABLES
+ int
+ default 1
+
+
+source src/northbridge/amd/amdk8/root_complex/Kconfig \ No newline at end of file
diff --git a/src/northbridge/amd/amdk8/Makefile.inc b/src/northbridge/amd/amdk8/Makefile.inc
new file mode 100644
index 0000000000..462db4815d
--- /dev/null
+++ b/src/northbridge/amd/amdk8/Makefile.inc
@@ -0,0 +1,30 @@
+
+#default CONFIG_AGP_APERTURE_SIZE=0x4000000
+#default CONFIG_HAVE_HIGH_TABLES=1
+
+
+driver-y += northbridge.o
+driver-y += misc_control.o
+obj-y += get_sblk_pci1234.o
+obj-$(CONFIG_HAVE_ACPI_TABLES) += amdk8_acpi.o
+
+# Not sure what to do with these yet. How did raminit_test even work? Should be a target in -y form
+#if CONFIG_K8_REV_F_SUPPORT
+#
+#makerule raminit_test
+# depends "$(TOP)/src/northbridge/amd/amdk8/raminit_test.c"
+# depends "$(TOP)/src/northbridge/amd/amdk8/raminit_f.c"
+# action "$(HOSTCC) $(HOSTCFLAGS) $(CPUFLAGS) -Wno-unused-function -I$(TOP)/src/include -g $< -o $@"
+#end
+#
+#else
+#
+#makerule raminit_test
+# depends "$(TOP)/src/northbridge/amd/amdk8/raminit_test.c"
+# depends "$(TOP)/src/northbridge/amd/amdk8/raminit.c"
+# action "$(HOSTCC) $(HOSTCFLAGS) $(CPUFLAGS) -Wno-unused-function -I$(TOP)/src/include -g $< -o $@"
+#end
+#
+#end
+#
+#