soc/amd/stoneyridge: Move I2C bus clear out of gpio.c
commitf42344a38963cba10604901a6934c7842db42c4d
authorMarshall Dawson <marshalldawson3rd@gmail.com>
Thu, 2 May 2019 18:53:00 +0000 (2 12:53 -0600)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 16 May 2019 10:05:26 +0000 (16 10:05 +0000)
tree702b7f733f3ef10fd58a0a88375c9a89f17f1658
parent69486cac74a0e9578c90366feae8abebce5ff834
soc/amd/stoneyridge: Move I2C bus clear out of gpio.c

Relocate the I2C bus reset code from gpio.c to i2c.c.  When it first
went in, gpio.c was a natural location due to the nature of the
algorithm.  This is preparation for moving most of gpio.c to common
code.

Change-Id: I3b2d8e1b54e7c5929220d763bd99fe01b0636aaa
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32650
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/amd/stoneyridge/chip.h
src/soc/amd/stoneyridge/gpio.c
src/soc/amd/stoneyridge/i2c.c
src/soc/amd/stoneyridge/include/soc/gpio.h
src/soc/amd/stoneyridge/include/soc/i2c.h [new file with mode: 0644]