diff options
author | Martin Roth <martinroth@chromium.org> | 2020-11-05 11:20:19 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-11-07 18:33:17 +0000 |
commit | 3190ba863daecf6ac9300f57beb8c7eae74b8c50 (patch) | |
tree | 54f5a3e44af21b8e08ddcb651c67fac9fbc965b0 /payloads/Kconfig | |
parent | b6ef297564b0ea173d889a47fbd5a811de532e99 (diff) |
soc/amd/common: Don't program GPIOs if the table isn't set
Currently, there's no check for the table being programmed. This skips
programming a table if the table size is zero, or the pointer to the
table has been set to NULL.
BUG=None
TEST=Set table pointer to NULL, table doesn't run.
BRANCH=Zork
Signed-off-by: Martin Roth <martinroth@chromium.org>
Change-Id: I7d09b47e7d619428b64cc0695f220fb64c71ef4c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47307
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'payloads/Kconfig')
0 files changed, 0 insertions, 0 deletions