rs780: hide unused gfx ports and gpp ports
authorKerry Sheh <shekairui@gmail.com>
Wed, 14 Sep 2011 02:04:19 +0000 (10:04 +0800)
committerPatrick Georgi <patrick@georgi-clan.de>
Wed, 14 Sep 2011 05:47:30 +0000 (07:47 +0200)
commit8c69b1d13b12a23d22de19b9de2e161e6064021c
treefdd2b4c452e0ea710d1bd456681af9834b503b40
parenta25828dd0eaec09334ccbe05559d0e121e698b0d
rs780: hide unused gfx ports and gpp ports

Hide the unused gfx ports and gpp ports if they are not configured as hotplug.
lspci -vvv will get more accurate information under Linux,
tested on avalue/eax-785e.

Change-Id: Iaabfd362a0a01f21d0f49aa2bd2d26f9259013fb
Signed-off-by: Kerry Sheh <kerry.she@amd.com>
Signed-off-by: Kerry Sheh <shekairui@gmail.com>
Reviewed-on: http://review.coreboot.org/206
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
src/southbridge/amd/rs780/gfx.c
src/southbridge/amd/rs780/pcie.c
src/southbridge/amd/rs780/rs780.c
src/southbridge/amd/rs780/rs780.h