summaryrefslogtreecommitdiff
path: root/src/mainboard/ti
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-01-12 14:58:20 +0100
committerNico Huber <nico.h@gmx.de>2019-01-13 14:00:33 +0000
commit744d6bd638f5e9495a4d0032135a6e12bf1befbd (patch)
tree4573b95663940af3b58ba7dd963cedb105a17612 /src/mainboard/ti
parent8c1258ab8b7e2bd2adcf36e0b610b394f6b6d175 (diff)
sb/intel: Check for NULL-return of pcidev_on_root()
In these cases we have to expect a NULL pointer because the IGD device 0:2.0 may be disabled. The behaviour still differs from using dev_find_slot(), which may return a disabled device. Though, if you'd try to read its config space you'd only read garbage (0xff) and in cases where we filled ACPI data with devicetree information, the information shouldn't be interpreted by the OS because of the disabled device. Change-Id: I1bab8fa3a82daca71d03453315cdd69d8951fc24 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/30879 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/ti')
0 files changed, 0 insertions, 0 deletions