coreboot/src
Denis 'GNUtoo' Carikli 34746a9c48 rs780: Implement rs780_internal_gfx_disable and add .disable pcie_ops
That code will be used to disable the internal GFX card and enable the
external PCIe card.

The following lines from function `rs780_internal_gfx_enable()` are
taken and reversed.

	/* Disable external GFX and enable internal GFX. */
	l_dword = pci_read_config32(nb_dev, 0x8c);
	l_dword &= ~(1<<0);
	l_dword |= 1<<1;
	pci_write_config32(nb_dev, 0x8c, l_dword);

It has been tested on the M4A785T-M with the following card inside the
PCIe 16x slot:

  02:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 210] (rev a2)

Change-Id: I7bd412b987fde98c97464175e2c7a384a8f0fb84
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/2065
Tested-by: build bot (Jenkins)
2012-12-30 22:45:56 +01:00
..
arch remove obsolete include paths from INCLUDES 2012-12-29 15:35:29 +01:00
console WIP: Add support for non-8250 built-in UARTs 2012-12-08 06:51:59 +01:00
cpu move iRAM config variable to exynos5250 Kconfig 2012-12-29 15:33:17 +01:00
device Fix Yabel compilation on non-x86 platforms 2012-12-08 06:46:14 +01:00
drivers corrections for MAX77686 config variable 2012-12-29 15:33:53 +01:00
ec Add support for ENE932 EC w/ Compal firmware 2012-12-12 06:02:04 +01:00
include import i2c header from u-boot 2012-12-29 15:34:26 +01:00
lib Only include libgcc wrappers on x86 2012-12-08 03:52:53 +01:00
mainboard M4A785T-M: Add support for external GFX. 2012-12-30 03:25:33 +01:00
northbridge Add function to map vendor/device to generic VBIOS IDs 2012-12-07 20:42:33 +01:00
southbridge rs780: Implement rs780_internal_gfx_disable and add .disable pcie_ops 2012-12-30 22:45:56 +01:00
superio Remove assembly coded log2 function 2012-11-28 07:57:17 +01:00
vendorcode SB800: Add IMC ROM and fan control. 2012-12-12 22:35:03 +01:00
Kconfig Fix UART8250 console prototypes 2012-12-12 00:27:10 +01:00