summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2003-08-28 13:43:03 +0000
committerStefan Reinauer <stepan@openbios.org>2003-08-28 13:43:03 +0000
commitf5f10d10979688e0d2ac7a01a262c50bf3e08b76 (patch)
tree3dc0f53da70a051f56c5181618d8fe7e31e79927 /src/northbridge
parentfa2df758f226f5b06537c6e6f8e27072b94644c5 (diff)
downloadcoreboot-f5f10d10979688e0d2ac7a01a262c50bf3e08b76.tar.xz
cleaning out motherboard specific changes from the generic directories.
Moving tyan resource map to tyan directory. Making IOMMU for hammer choosable via ENABLE_IOMMU git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1088 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/amdk8/raminit.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/northbridge/amd/amdk8/raminit.c b/src/northbridge/amd/amdk8/raminit.c
index 63a471c870..99318aa3f7 100644
--- a/src/northbridge/amd/amdk8/raminit.c
+++ b/src/northbridge/amd/amdk8/raminit.c
@@ -919,12 +919,13 @@ static void sdram_set_registers(const struct mem_controller *ctrl)
* [31: 8] Reserved
*/
PCI_ADDR(0, 0x18, 3, 0x60), 0xffffff00, 0x00000000,
-//BY LYH add IOMMU 64M APERTURE
+
+#if ENABLE_IOMMU != 0
+ /* BY LYH add IOMMU 64M APERTURE */
PCI_ADDR(0, 0x18, 3, 0x94), 0xffff8000, 0x00000f70,
PCI_ADDR(0, 0x18, 3, 0x90), 0xffffff80, 0x00000002,
PCI_ADDR(0, 0x18, 3, 0x98), 0x0000000f, 0x00068300,
-
-//BY LYH END
+#endif
};
int i;
int max;