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:
parent
e8bfbb387c
commit
2ad85dbc65
11 changed files with 98 additions and 98 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue