diff options
Diffstat (limited to 'src/soc/nvidia/tegra/i2c.h')
-rw-r--r-- | src/soc/nvidia/tegra/i2c.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/soc/nvidia/tegra/i2c.h b/src/soc/nvidia/tegra/i2c.h index 5f299e8ac7..03a6d66e1f 100644 --- a/src/soc/nvidia/tegra/i2c.h +++ b/src/soc/nvidia/tegra/i2c.h @@ -110,7 +110,13 @@ enum { 0xf << I2C_FIFO_STATUS_RX_FIFO_FULL_CNT_SHIFT }; -extern void * const tegra_i2c_bases[]; +struct tegra_i2c_bus_info { + void *base; + uint32_t reset_bit; + void (*reset_func)(u32 bit); +}; + +extern struct tegra_i2c_bus_info tegra_i2c_info[]; struct tegra_i2c_regs { uint32_t cnfg; |