diff options
author | Chris Ching <chingcodes@chromium.org> | 2017-12-06 14:26:15 -0700 |
---|---|---|
committer | Chris Ching <chingcodes@chromium.org> | 2017-12-22 16:39:42 +0000 |
commit | b8dc63bdfe04fc15553f1ea6e42583cbdaad38ac (patch) | |
tree | 6c25cdb3bb62df3cb80b01f111467b98800d18d0 /src/soc/intel/cannonlake/chip.h | |
parent | 17e85adc91d905919f8c4a512125ebd457ce99db (diff) |
ic2/designware: Move Intel i2c logic to shared driver
BUG=b:70232394
BRANCH=none
TEST=emerge-reef coreboot
emerge-glados
Change-Id: Idb453a4d2411163e6b4a8422310bf272eac5d379
Signed-off-by: Chris Ching <chingcodes@chromium.org>
Reviewed-on: https://review.coreboot.org/22822
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/cannonlake/chip.h')
-rw-r--r-- | src/soc/intel/cannonlake/chip.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/cannonlake/chip.h b/src/soc/intel/cannonlake/chip.h index fd89339e63..e984b4de23 100644 --- a/src/soc/intel/cannonlake/chip.h +++ b/src/soc/intel/cannonlake/chip.h @@ -18,8 +18,8 @@ #ifndef _SOC_CHIP_H_ #define _SOC_CHIP_H_ +#include <drivers/i2c/designware/dw_i2c.h> #include <intelblocks/gspi.h> -#include <intelblocks/lpss_i2c.h> #include <stdint.h> #include <soc/pch.h> #include <soc/gpio_defs.h> @@ -255,7 +255,7 @@ struct soc_intel_cannonlake_config { unsigned int sdcard_cd_gpio; /* I2C bus configuration */ - struct lpss_i2c_bus_config i2c[CANNONLAKE_I2C_DEV_MAX]; + struct dw_i2c_bus_config i2c[CANNONLAKE_I2C_DEV_MAX]; }; typedef struct soc_intel_cannonlake_config config_t; |