diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-20 09:46:32 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-22 12:21:05 +0000 |
commit | d096a64bcd8383e074809ab62b08d270ab688456 (patch) | |
tree | 2756c26360db62daa75ff6ee8041c489e2a69ffb /src/southbridge/broadcom/bcm5785/bcm5785.h | |
parent | 321bce4a3f472cfcd1f9af12e0204f6648ce499e (diff) |
sb/broadcom/bcm5785: Consolidate PCI set_subsystem()
This one uses vendor-specific register for the write.
Change-Id: Ie36a87314054d00daed6a63b495bd5f5eabef66e
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/31989
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Diffstat (limited to 'src/southbridge/broadcom/bcm5785/bcm5785.h')
-rw-r--r-- | src/southbridge/broadcom/bcm5785/bcm5785.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/southbridge/broadcom/bcm5785/bcm5785.h b/src/southbridge/broadcom/bcm5785/bcm5785.h index f1af15326c..4517ddad0c 100644 --- a/src/southbridge/broadcom/bcm5785/bcm5785.h +++ b/src/southbridge/broadcom/bcm5785/bcm5785.h @@ -17,6 +17,7 @@ #ifndef BCM5785_H #define BCM5785_H +#include <device/device.h> #include "chip.h" #ifndef __PRE_RAM__ @@ -25,6 +26,9 @@ void bcm5785_enable(struct device *dev); void enable_fid_change_on_sb(unsigned sbbusn, unsigned sbdn); #endif +void bcm5785_set_subsystem(struct device *dev, unsigned int vendor, + unsigned int device); + void ldtstop_sb(void); #endif /* BCM5785_H */ |