diff options
-rw-r--r-- | src/mainboard/google/trogdor/mainboard.c | 3 | ||||
-rw-r--r-- | src/soc/qualcomm/common/include/soc/qupv3_i2c_common.h (renamed from src/soc/qualcomm/sc7180/include/soc/qupv3_i2c.h) | 0 | ||||
-rw-r--r-- | src/soc/qualcomm/common/qupv3_i2c.c (renamed from src/soc/qualcomm/sc7180/qupv3_i2c.c) | 4 | ||||
-rw-r--r-- | src/soc/qualcomm/sc7180/Makefile.inc | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/src/mainboard/google/trogdor/mainboard.c b/src/mainboard/google/trogdor/mainboard.c index 982c1c1dae..48949d5a9c 100644 --- a/src/mainboard/google/trogdor/mainboard.c +++ b/src/mainboard/google/trogdor/mainboard.c @@ -15,7 +15,8 @@ #include <soc/display/mdssreg.h> #include <soc/qupv3_config_common.h> #include <soc/qup_se_handlers_common.h> -#include <soc/qupv3_i2c.h> +#include <soc/qupv3_i2c_common.h> +#include <soc/qcom_qup_se.h> #include <soc/usb.h> #include <types.h> diff --git a/src/soc/qualcomm/sc7180/include/soc/qupv3_i2c.h b/src/soc/qualcomm/common/include/soc/qupv3_i2c_common.h index 71cea0a639..71cea0a639 100644 --- a/src/soc/qualcomm/sc7180/include/soc/qupv3_i2c.h +++ b/src/soc/qualcomm/common/include/soc/qupv3_i2c_common.h diff --git a/src/soc/qualcomm/sc7180/qupv3_i2c.c b/src/soc/qualcomm/common/qupv3_i2c.c index 704a0bc0fb..606b3bf935 100644 --- a/src/soc/qualcomm/sc7180/qupv3_i2c.c +++ b/src/soc/qualcomm/common/qupv3_i2c.c @@ -8,9 +8,9 @@ #include <lib.h> #include <soc/clock.h> #include <soc/qcom_qup_se.h> -#include <soc/qupv3_config_common.h> #include <soc/qup_se_handlers_common.h> -#include <soc/qupv3_i2c.h> +#include <soc/qupv3_config_common.h> +#include <soc/qupv3_i2c_common.h> #include <stdint.h> static void i2c_clk_configure(unsigned int bus, enum i2c_speed speed) diff --git a/src/soc/qualcomm/sc7180/Makefile.inc b/src/soc/qualcomm/sc7180/Makefile.inc index 149d63f4be..0d7e4d62bd 100644 --- a/src/soc/qualcomm/sc7180/Makefile.inc +++ b/src/soc/qualcomm/sc7180/Makefile.inc @@ -8,7 +8,7 @@ all-y += ../common/timer.c all-y += ../common/gpio.c all-y += ../common/spi.c all-$(CONFIG_SC7180_QSPI) += ../common/qspi.c -all-y += qupv3_i2c.c +all-y += ../common/qupv3_i2c.c all-y += qupv3_spi.c all-y += clock.c all-y += ../common/clock.c |