summaryrefslogtreecommitdiff
path: root/util/uio_usbdebug/linux
diff options
context:
space:
mode:
authorMario Scheithauer <mario.scheithauer@siemens.com>2017-11-21 13:52:53 +0100
committerDuncan Laurie <dlaurie@chromium.org>2017-11-21 17:01:01 +0000
commitf1eb0ea537af82dba7040586a5a4f4f249b4e63f (patch)
treee8d298fac60d6b744e0b8e955e744fdda1895ec8 /util/uio_usbdebug/linux
parentece69f212375c6895e70e86fb3fd8d4c45f51cbf (diff)
arch/x86: Write ACPI DBG2 table only if the device has been enabled
The commit 93bbd41e (soc/intel: Enable ACPI DBG2 table generation) causes a crash on the mainboard mc_apl1. On this mainboard all internal SOC UARTs in the devicetree are switched off. As a result, no resources are allocated to the UARTs. The function find_resource() expects an existing resource. Otherwise, the CPU will stop. It should therefore not only be queried whether a device is present, but also whether it is enabled. Change-Id: I56ce44ae0cf77916fcb640f79fb8944fe33177cd Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/22552 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'util/uio_usbdebug/linux')
0 files changed, 0 insertions, 0 deletions