summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-07-27 08:40:14 +0300
committerAnton Kochkov <anton.kochkov@gmail.com>2012-07-27 11:18:07 +0200
commitb5f5652e0f023cd89c1c21d7dc6dfb86cae9e727 (patch)
treeddea0bdfdc8940c7d8fd599bae48f90625bc21af /src
parentecf1ed49c72168c3d5b613a5d5198b5dd22777b4 (diff)
Intel i945 and sch: no memory over 4GB
No need for the test, tomk is top of low memory and always below 4GB. Change-Id: Ifc8f29268b761aa9b07b578673236a673f0c70b5 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1368 Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Tested-by: build bot (Jenkins) Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/intel/i945/northbridge.c4
-rw-r--r--src/northbridge/intel/sch/northbridge.c3
2 files changed, 0 insertions, 7 deletions
diff --git a/src/northbridge/intel/i945/northbridge.c b/src/northbridge/intel/i945/northbridge.c
index 58e70d7fa0..9a69823afa 100644
--- a/src/northbridge/intel/i945/northbridge.c
+++ b/src/northbridge/intel/i945/northbridge.c
@@ -170,10 +170,6 @@ static void pci_domain_set_resources(device_t dev)
/* Report the memory regions */
ram_resource(dev, 3, 0, 640);
ram_resource(dev, 4, 768, (tomk - 768));
- if (tomk > 4 * 1024 * 1024) {
- ram_resource(dev, 5, 4096 * 1024, tomk - 4 * 1024 * 1024);
- }
-
add_fixed_resources(dev, 6);
assign_resources(dev->link_list);
diff --git a/src/northbridge/intel/sch/northbridge.c b/src/northbridge/intel/sch/northbridge.c
index 581f97c984..52b688aab8 100644
--- a/src/northbridge/intel/sch/northbridge.c
+++ b/src/northbridge/intel/sch/northbridge.c
@@ -182,9 +182,6 @@ static void pci_domain_set_resources(device_t dev)
/* Report the memory regions. */
ram_resource(dev, 3, 0, 640);
ram_resource(dev, 4, 768, (tomk - 768));
- if (tomk > 4 * 1024 * 1024)
- ram_resource(dev, 5, 4096 * 1024, tomk - 4 * 1024 * 1024);
-
add_fixed_resources(dev, 6);
assign_resources(dev->link_list);