From 87d0c542b64c417971e375dc762e80298b8c6dc6 Mon Sep 17 00:00:00 2001 From: Edwin Beasant Date: Wed, 27 Jan 2010 18:19:33 +0000 Subject: Change memory map of geode lx: 768kb-systop is a single range. This change allows both seabios and filo to boot linux successfully (which was confused before) Signed-off-by: Edwin Beasant Signed-off-by: Patrick Georgi Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5058 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/lx/northbridge.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/northbridge') diff --git a/src/northbridge/amd/lx/northbridge.c b/src/northbridge/amd/lx/northbridge.c index 837f0779ea..7757d03c4b 100644 --- a/src/northbridge/amd/lx/northbridge.c +++ b/src/northbridge/amd/lx/northbridge.c @@ -411,11 +411,11 @@ static void pci_domain_set_resources(device_t dev) mc_dev = dev->link[0].children; if (mc_dev) { tomk = get_systop() / 1024; - /* Report the memory regions */ + /* Report the memory regions + All memory up to systop except 0xa0000-0xbffff */ idx = 10; ram_resource(dev, idx++, 0, 640); - ram_resource(dev, idx++, 768, 1024); // c0000-fffff are usable - ram_resource(dev, idx++, 1024, tomk - 1024); // Systop - 1 MB -> KB + ram_resource(dev, idx++, 768, tomk - 768); // Systop - 0xc0000 -> KB #if CONFIG_WRITE_HIGH_TABLES==1 /* Leave some space for ACPI, PIRQ and MP tables */ -- cgit v1.2.3