diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2019-05-02 12:53:00 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-16 10:05:26 +0000 |
commit | f42344a38963cba10604901a6934c7842db42c4d (patch) | |
tree | 702b7f733f3ef10fd58a0a88375c9a89f17f1658 /src/soc/amd/stoneyridge/chip.h | |
parent | 69486cac74a0e9578c90366feae8abebce5ff834 (diff) | |
download | coreboot-f42344a38963cba10604901a6934c7842db42c4d.tar.xz |
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>
Diffstat (limited to 'src/soc/amd/stoneyridge/chip.h')
-rw-r--r-- | src/soc/amd/stoneyridge/chip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/chip.h b/src/soc/amd/stoneyridge/chip.h index 92223d1962..d1a7d30199 100644 --- a/src/soc/amd/stoneyridge/chip.h +++ b/src/soc/amd/stoneyridge/chip.h @@ -20,7 +20,7 @@ #include <stdint.h> #include <commonlib/helpers.h> #include <drivers/i2c/designware/dw_i2c.h> -#include <soc/gpio.h> +#include <soc/i2c.h> #include <arch/acpi_device.h> #define MAX_NODES 1 |