summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Beasant <edwin_beasant@virtensys.com>2010-01-27 18:19:33 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-01-27 18:19:33 +0000
commit87d0c542b64c417971e375dc762e80298b8c6dc6 (patch)
tree3bb84244e396ebd76113bb0080b035e20d21aa7f
parent47afa44a9f66cb1e8d80b1bc3b7c5aa0f4cd91f0 (diff)
downloadcoreboot-87d0c542b64c417971e375dc762e80298b8c6dc6.tar.xz
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 <edwin_beasant@virtensys.com> Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5058 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/northbridge/amd/lx/northbridge.c6
1 files changed, 3 insertions, 3 deletions
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 */