Index: src/southbridge/amd/rs690/gfx.c
===================================================================
--- src/southbridge/amd/rs690/gfx.c	(revision 6275)
+++ src/southbridge/amd/rs690/gfx.c	(working copy)
@@ -2,6 +2,7 @@
  * This file is part of the coreboot project.
  *
  * Copyright (C) 2008 Advanced Micro Devices, Inc.
+ * Copyright (C) 2011 Ivaylo Valkov <ivaylo@e-valkov.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -18,10 +19,11 @@
  */
 
 /*
- *  for rs690 internal graphics device
+ *  for rs690 and rs740 internal graphics device
  *  device id of internal grphics:
  *	RS690M/T: 0x791f
- *    RS690:	   0x791e
+ *	RS690:	  0x791e
+ *	RS740:	  0x796e
  */
 #include <console/console.h>
 #include <device/device.h>
@@ -223,6 +225,16 @@
 	.device = PCI_DEVICE_ID_ATI_RS690_INT_GFX,
 };
 
+/*
+* The dev id for RS740 internal graphics. Xorg's radeon driver code
+ * suggests that there are few more device ids. Only this is tested.
+ */
+static const struct pci_driver pcie_driver_740 __pci_driver = {
+	.ops = &pcie_ops,
+	.vendor = PCI_VENDOR_ID_ATI,
+	.device = PCI_DEVICE_ID_ATI_RS740_INT_GFX,
+};
+
 /* step 12 ~ step 14 from rpr */
 static void single_port_configuration(device_t nb_dev, device_t dev)
 {
