diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2020-03-18 23:45:32 -0500 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-20 09:38:39 +0000 |
commit | 70ea3b9141ee92177c1a1185a7e6a468fd59bc85 (patch) | |
tree | 1d8e4606a8b8a77b01615342e8e863b19b722833 /util/spkmodem_recv/Makefile | |
parent | 78b43c8990a7e3331dd5a0bd2484a53956f546aa (diff) | |
download | coreboot-70ea3b9141ee92177c1a1185a7e6a468fd59bc85.tar.xz |
ec/google/chromeec: don't put empty block in SSDT
Check that there are actually USB-PD ports for which to
add data to SSDT, before actually generating SSDT data.
This prevents an empty scope from being generated on
devices without any USB-PD ports, which was breaking
parsing/decompilation on some older platforms (eg,
Braswell).
Test: build/boot google/edgar, verify SSDT table able to
be parsed via iasl after dumping.
Change-Id: Ia213e5815e9160e9b36b2501eeccb6385abef47e
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39665
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/spkmodem_recv/Makefile')
0 files changed, 0 insertions, 0 deletions