Changeset 3588

Show
Ignore:
Timestamp:
09/22/08 15:07:20 (2 months ago)
Author:
stepan
Message:

Patch for AMD RS690 chipset.

All the PCIe slots are enabled in this patch except power management.

Signed-off-by: Michael Xie <Michael.Xie@…>
Reviewed-by: Marc Jones <marc.jones@…>
Acked-by: Stefan Reinauer <stepan@…>

Location:
trunk/coreboot-v2/src
Files:
10 added
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/coreboot-v2/src/arch/i386/boot/coreboot_table.c

    r3437 r3588  
    448448                rom_table_start, rom_table_end-rom_table_start); 
    449449 
     450        /* AMD rs690 chip, we should remove the UMA from system memory. */ 
     451#if (CONFIG_GFXUMA == 1)  
     452        printk_info("uma_memory_start=0x%x, uma_memory_size=0x%x \n",  
     453        uma_memory_start, uma_memory_size); 
     454        lb_add_memory_range(mem, LB_MEM_TABLE,  
     455                uma_memory_start, uma_memory_size); 
     456#endif 
     457 
     458 
    450459        /* Note: 
    451460         * I assume that there is always memory at immediately after 
  • trunk/coreboot-v2/src/config/Options.lb

    r3465 r3588  
    10741074end 
    10751075 
     1076define K8_MEM_BANK_B_ONLY 
     1077        default 0 
     1078        export always 
     1079        comment "use AMD K8's memory bank B only to make a 64bit memory system and memory bank A is free, such as Filbert." 
     1080end 
     1081 
    10761082define CONFIG_VIDEO_MB 
    10771083        default none 
    10781084        export used 
    10791085        comment "Integrated graphics with UMA has dynamic setup" 
     1086end 
     1087 
     1088define CONFIG_GFXUMA 
     1089        default none 
     1090        export used 
     1091        comment "GFX UMA" 
    10801092end 
    10811093 
  • trunk/coreboot-v2/src/include/boot/coreboot_tables.h

    r3396 r3588  
    4343 * See also: util/lbtdump/lbtdump.c 
    4444 */ 
     45 
     46/* AMD rs690 chip, declare global variables. */ 
     47#if (CONFIG_GFXUMA == 1)  
     48        unsigned long uma_memory_start, uma_memory_size; 
     49#endif 
     50         
    4551 
    4652struct lb_uint64 {