diff options
author | Andreas Bießmann <andreas.devel@googlemail.com> | 2013-10-30 15:18:18 +0100 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2013-11-13 22:13:22 +0100 |
commit | cb96a0a4c90e64b286d1b117374d16817b1c8521 (patch) | |
tree | a31868bb91ffcc82a4534adf41619d28f36a5ffe /include/i2c.h | |
parent | 0f1f041835d7f524fa9121b02000b0a398f01f20 (diff) | |
download | u-boot-imx-cb96a0a4c90e64b286d1b117374d16817b1c8521.zip u-boot-imx-cb96a0a4c90e64b286d1b117374d16817b1c8521.tar.gz u-boot-imx-cb96a0a4c90e64b286d1b117374d16817b1c8521.tar.bz2 |
i2c: switch from AT91 legacy to ATMEL legacy
Since the required API is gpio which is enclosed with CONFIG_ATMEL_LEGACY use
that switch here.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include/i2c.h')
-rw-r--r-- | include/i2c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/i2c.h b/include/i2c.h index c1be533..f93a183 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -147,7 +147,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 |