X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fi2c.h;h=1b4078ed62fe43c8c3ac37b1ff732da0d431d37f;hb=14b256e5c084e1b693f4ad73c6a8beee7ffcb4af;hp=c1be533d57cd710ae57462da9209651de8c21758;hpb=55aea84b1db277bd86edadb37d11b78d36db7608;p=u-boot diff --git a/include/i2c.h b/include/i2c.h index c1be533d57..1b4078ed62 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -68,6 +68,7 @@ struct i2c_adapter { uint (*set_bus_speed)(struct i2c_adapter *adap, uint speed); int speed; + int waitdelay; int slaveaddr; int init_done; int hwadapnr; @@ -147,7 +148,7 @@ extern struct i2c_bus_hose i2c_bus[]; # elif (defined(CONFIG_AT91RM9200) || \ defined(CONFIG_AT91SAM9260) || defined(CONFIG_AT91SAM9261) || \ - defined(CONFIG_AT91SAM9263)) && !defined(CONFIG_AT91_LEGACY) + defined(CONFIG_AT91SAM9263)) # define I2C_SOFT_DECLARATIONS at91_pio_t *pio = (at91_pio_t *) ATMEL_BASE_PIOA; # else # define I2C_SOFT_DECLARATIONS