diff options
author | Stefan Reinauer <stepan@openbios.org> | 2003-08-28 13:43:03 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2003-08-28 13:43:03 +0000 |
commit | f5f10d10979688e0d2ac7a01a262c50bf3e08b76 (patch) | |
tree | 3dc0f53da70a051f56c5181618d8fe7e31e79927 /src/northbridge/amd | |
parent | fa2df758f226f5b06537c6e6f8e27072b94644c5 (diff) |
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/amd')
-rw-r--r-- | src/northbridge/amd/amdk8/raminit.c | 7 |
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; |