Add unwanted_vpci parsing to AMD's cs5536 southbridge.

Signed-off-by: Ward Vandewege <ward@gnu.org>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>



git-svn-id: svn://coreboot.org/repository/coreboot-v3@662 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Ward Vandewege 2008-04-17 16:30:27 +00:00
parent a53508b751
commit fd4ef4a84a
2 changed files with 11 additions and 0 deletions

View file

@ -617,6 +617,7 @@ static void hide_vpci(u32 vpci_devid)
*/
static void southbridge_init(struct device *dev)
{
int i;
struct southbridge_amd_cs5536_dts_config *sb =
(struct southbridge_amd_cs5536_dts_config *)dev->device_configuration;
@ -648,6 +649,11 @@ static void southbridge_init(struct device *dev)
enable_USB_port4(sb);
/* disable unwanted virtual PCI devices */
for (i = 0; 0 != sb->unwanted_vpci[i]; i++) {
hide_vpci(sb->unwanted_vpci[i]);
}
if (sb->enable_ide)
ide_init(dev);

View file

@ -64,4 +64,9 @@
* probably not what you want.
*/
power_button = "0";
/* Vpci devices to be disabled. Put device locations here, and always end the
* array with a zero element. */
unwanted_vpci = < 0 >;
};