diff options
author | Peichao Wang <peichao.wang@bitland.corp-partner.google.com> | 2020-04-18 08:25:53 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-05-21 22:34:06 +0000 |
commit | 712311f56e2f9fec0124ca7903078dc180abf81c (patch) | |
tree | f83fedef543a1619c18d87ea762ddd6bcf591abf /src/console | |
parent | 30ce0f383f2f3cf47e3f8cef2ea4ce2f7b478be9 (diff) |
soc/amd/common/block/gpio: add API for gpio override table
This function adds support for gpio_configure_pads_with_override
which:
1. Takes as input two GPIO tables -- base config table and override
config table
2. Configures each pad in base config by first checking if there is a
config available for the pad in override config table. If yes, then
uses the one from override config table. Else, uses the base config to
configure the pad.
BUG=b:153456574
TEST=Build and boot dalboz
BRANCH=none
Signed-off-by: peichao.wang <peichao.wang@bitland.corp-partner.google.com>
Change-Id: I07bfe82827d1f7aea9fcc96574d6deab9e91d503
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/2153423
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41576
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/console')
0 files changed, 0 insertions, 0 deletions