summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorYinghai Lu <yinghailu@gmail.com>2004-10-25 19:49:50 +0000
committerYinghai Lu <yinghailu@gmail.com>2004-10-25 19:49:50 +0000
commit9cf950ca5a7dc0f9373b9b4db508480a35bb35ac (patch)
tree84211e5bf6a7585b3375c0f2f00180106fcf088c /src/northbridge
parent3f637906c4c5a81c923cca157fca933dac186531 (diff)
s2735 minor changes
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1715 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/e7501/northbridge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/intel/e7501/northbridge.c b/src/northbridge/intel/e7501/northbridge.c
index 5922a1f34e..098ad5312a 100644
--- a/src/northbridge/intel/e7501/northbridge.c
+++ b/src/northbridge/intel/e7501/northbridge.c
@@ -127,7 +127,7 @@ static void pci_domain_set_resources(device_t dev)
remaplimit_r = pci_read_config16(mc_dev, 0xc8);
remaplimit_r = (remaplimitk >> 16) | (remaplimit_r & 0xfc00);
- pci_write_config16(mc_dev, 0xc8, rempaplimit_r);
+ pci_write_config16(mc_dev, 0xc8, remaplimit_r);
/* Report the memory regions */
idx = 10;
@@ -137,8 +137,8 @@ static void pci_domain_set_resources(device_t dev)
ram_resource(dev, idx++, 4096*1024, tomk - 4*1024*1024);
}
if (remaplimitk >= remapbasek) {
- ram_resource(dev, idx++, ramapbasek,
- (reamplimitk + 64*1024) = remapbasek);
+ ram_resource(dev, idx++, remapbasek,
+ (remaplimitk + 64*1024) - remapbasek);
}
}
assign_resources(&dev->link[0]);