summaryrefslogtreecommitdiff
path: root/src/northbridge/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/amd')
-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
3 files changed, 48 insertions, 7 deletions
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
+#
+#