Denis Carikli (gnu...@no-log.org) just uploaded a new patch set to gerrit, 
which you can find at http://review.coreboot.org/2066

-gerrit

commit 95db9057ac9f51a9a7ea1b3bebe16c4676f5860a
Author: Denis 'GNUtoo' Carikli <gnu...@no-log.org>
Date:   Thu Dec 20 18:53:30 2012 +0100

    [HACK NOT FOR MERGE] device.c: hardcode the M4A785T-M Internal GFX Card.
    
    This patch is temporary, I'm looking for comments in order to replace it
      by something cleaner.
    
    Its goal is to make the internal GFX card of the RS780 on the M4A785T-M
      mainboard be detected as an internal card, and so disabled later like
      that: vga_onboard->ops->disable(vga_onboard); in src/device/device.c
    
    Change-Id: I5449ee73a3f10cd7c1bca25e57f7b24dba0d7801
    Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@no-log.org>
---
 src/device/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/device/device.c b/src/device/device.c
index 07bbc7a..e238995 100644
--- a/src/device/device.c
+++ b/src/device/device.c
@@ -749,7 +749,7 @@ static void set_vga_bridge_bits(void)
 
                printk(BIOS_DEBUG, "found VGA at %s\n", dev_path(dev));
 
-               if (dev->on_mainboard) {
+               if(strcmp(dev_path(dev),"PCI: 01:05.0") == 0 ) {
                        vga_onboard = dev;
                } else {
                        vga = dev;

-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to