Author: oxygene Date: 2010-01-27 19:19:33 +0100 (Wed, 27 Jan 2010) New Revision: 5058
Modified: trunk/src/northbridge/amd/lx/northbridge.c Log: 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
Modified: trunk/src/northbridge/amd/lx/northbridge.c =================================================================== --- trunk/src/northbridge/amd/lx/northbridge.c 2010-01-26 15:34:15 UTC (rev 5057) +++ trunk/src/northbridge/amd/lx/northbridge.c 2010-01-27 18:19:33 UTC (rev 5058) @@ -411,11 +411,11 @@ 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 */