coreboot/src
Patrick Rudolph b4f329c78d UPSTREAM: device/device_util: Add function to determine bridge state
Add a method to get the state of a bridge device.
Return true if at least one enabled device on the secondary
bus is found.

Useful to disable non hotplugable bridges without any devices attached.

BUG=none
BRANCH=none
TEST=none

Change-Id: Ib399f149940b6686273bf7818463a3f25ee53f96
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: a6909f88e9
Original-Change-Id: Ic8fe539d233031d4d177b03dd2c03edb5ab8c88d
Original-Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Original-Reviewed-on: https://review.coreboot.org/19817
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Philippe Mathieu-Daud <philippe.mathieu.daude@gmail.com>
Original-Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://chromium-review.googlesource.com/523972
2017-06-05 18:33:44 -07:00
..
acpi
arch UPSTREAM: arch/arm/include/armv7/arch: Correct keyword organization in cpu.h 2017-06-05 18:33:43 -07:00
commonlib UPSTREAM: commonlib: Move drivers/storage into commonlib/storage 2017-05-15 08:17:50 -07:00
console UPSTREAM: cbmem_console: Improve 'cbmem -1' behavior for truncated pre-CBMEM logs 2017-05-22 19:31:14 -07:00
cpu UPSTREAM: arch/x86: Add function to determine if we're currently running from CAR 2017-06-01 14:43:42 -07:00
device UPSTREAM: device/device_util: Add function to determine bridge state 2017-06-05 18:33:44 -07:00
drivers UPSTREAM: rx6110sa: Add possibility to use both I2C and SMBus for the RTC 2017-06-01 14:43:43 -07:00
ec UPSTREAM: ec/google/chromeec: Fix typo in ECUI device 2017-06-02 10:38:56 -07:00
include UPSTREAM: device/device_util: Add function to determine bridge state 2017-06-05 18:33:44 -07:00
lib UPSTREAM: lib/spd_bin: make SMBus SPD addresses an input 2017-05-29 01:59:18 -07:00
mainboard UPSTREAM: intel/bakersport_fsp: Move into bayleybay_fsp as a variant 2017-06-05 18:33:44 -07:00
northbridge UPSTREAM: binaryPI: Move EmptyHeap() call 2017-06-01 14:43:40 -07:00
soc UPSTREAM: soc/baytrail: add ACPI method to generate USB port info 2017-06-05 18:33:42 -07:00
southbridge UPSTREAM: sb/intel/bd82x6x/early_usb: Use register name 2017-06-02 10:38:56 -07:00
superio UPSTREAM: superio/nuvoton: Make SuperIO config functions externally available 2017-05-15 08:17:43 -07:00
vboot UPSTREAM: vboot: Separate board name and version number in FWID with a dot 2017-05-02 20:24:01 -07:00
vendorcode UPSTREAM: vendorcode/intel/fsp/fsp2_0/glk: Add FSP header files for GLK 2017-05-15 08:17:48 -07:00
Kconfig UPSTREAM: Kconfig: Move CONFIG_VIDEO_MB 2017-05-29 01:59:19 -07:00