diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-06-09 17:54:00 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2017-06-14 20:20:07 +0200 |
commit | d629e433dddeff040260e9ca309525cbf47a7601 (patch) | |
tree | df4ec1e37fddec300d32c3736a0c2d662699b7a6 /src/lib/gcov-io.c | |
parent | ab37e9a171794d3d1fdaa5eff93a61590e5cee8c (diff) |
soc/intel/common/block/i2c: Ignore disabled I2C devices
If I2C device is disabled:
1. BAR for the device will be 0
2. There is no need to generate ACPI tables for the device
TEST=Verified that if an i2c device is disabled statically in
devicetree or dynamically in mainboard, then coreboot does not die
looking for missing resources.
Change-Id: Id9a790e338a0e6f32c199f5f437203e1525df208
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/20140
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Diffstat (limited to 'src/lib/gcov-io.c')
0 files changed, 0 insertions, 0 deletions