Lots of lx fixes. CLeanup mainly. THings now build

Signed-off-by: Ronald G. Minnich


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2430 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Ronald G. Minnich 2006-09-20 16:39:30 +00:00 committed by Ronald G. Minnich
commit 2ad85dbc65
11 changed files with 98 additions and 98 deletions

View file

@ -47,7 +47,7 @@ void graphics_init(void)
* External Monochrome Card Support(12) 0, NO
* Controller Priority Select(11) 1, Primary
* Display Select(10:8) 0x0, CRT
* Graphics Memory Size(7:1) VIDEO_MB >> 1,
* Graphics Memory Size(7:1) CONFIG_VIDEO_MB >> 1,
* defined in mainboard/../Options.lb
* PLL Reference Clock Bypass(0) 0, Default
*/
@ -57,7 +57,7 @@ void graphics_init(void)
* so we can add the real value in megabytes
*/
wData = 0x0800 | (VIDEO_MB & VG_MEM_MASK);
wData = 0x0800 | (CONFIG_VIDEO_MB & VG_MEM_MASK);
vrWrite(wClassIndex, wData);
res = vrRead(wClassIndex);

View file

@ -521,7 +521,7 @@ static void pci_domain_set_resources(device_t dev)
/* Report the memory regions */
idx = 10;
ram_resource(dev, idx++, 0, 640);
ram_resource(dev, idx++, 1024, ((sizeram() - VIDEO_MB) * 1024) - SMM_SIZE - 1024);
ram_resource(dev, idx++, 1024, ((sizeram() - CONFIG_VIDEO_MB) * 1024) - SMM_SIZE - 1024);
}
assign_resources(&dev->link[0]);