From b5f5652e0f023cd89c1c21d7dc6dfb86cae9e727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Fri, 27 Jul 2012 08:40:14 +0300 Subject: Intel i945 and sch: no memory over 4GB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/1368 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) Reviewed-by: Anton Kochkov --- src/northbridge/intel/i945/northbridge.c | 4 ---- src/northbridge/intel/sch/northbridge.c | 3 --- 2 files changed, 7 deletions(-) (limited to 'src') 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); -- cgit v1.2.3