diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2018-09-11 20:13:41 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-09-12 11:54:09 +0000 |
commit | 15192da7c756eead1e3ccb2d3c7781bf96680925 (patch) | |
tree | 71fec2998672e74a4b92ad5872bb4fc5b7a9e14b /src/drivers | |
parent | 8c4561d2efa6f1a60dde3e41de8e7105d5911348 (diff) | |
download | coreboot-15192da7c756eead1e3ccb2d3c7781bf96680925.tar.xz |
soc/amd/stoneyridge: Fix more GPIO functions
Instead of gpio_num, gpio_address should be used as the address in
write32. This lets us also get rid of a few casts.
Commit c9ed3ee8d8 ("soc/amd/stoneyridge: Fix gpio_set function") fixed
one instance of this bug, but it was more widespread.
TEST=None
Change-Id: I0cf87aac2f1b87b6eac2b506515e48fe908c1f2b
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/28570
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions