diff options
author | esw@bus-elektronik.de <esw@bus-elektronik.de> | 2011-12-20 06:05:30 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-01-11 08:03:46 +0100 |
commit | 781322755f11b8f75f6a0a93ae51d36cd7862be1 (patch) | |
tree | 03c5cc3b468cba7ffdc2fab747fd956ae2268b7c | |
parent | 9a420986cccc9bd2c37affd931d627b3c3e72952 (diff) | |
download | u-boot-imx-781322755f11b8f75f6a0a93ae51d36cd7862be1.zip u-boot-imx-781322755f11b8f75f6a0a93ae51d36cd7862be1.tar.gz u-boot-imx-781322755f11b8f75f6a0a93ae51d36cd7862be1.tar.bz2 |
fix: error ATMEL_FIO_BASE undeclared, if use I2C_Soft on AT91
* Since AT91 name schema was changed to ATMEL_BASE_xxx, I2C_SOFT
on AT91 devices fails with 'error: ATMEL_FIO_BASE undeclared'
* change ATMEL_PIO_BASE to ATMEL_BASE_PIOA will fix this
Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>
-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 ee31034..1f35acf 100644 --- a/include/i2c.h +++ b/include/i2c.h @@ -78,7 +78,7 @@ # elif (defined(CONFIG_AT91RM9200) || \ defined(CONFIG_AT91SAM9260) || defined(CONFIG_AT91SAM9261) || \ defined(CONFIG_AT91SAM9263)) && !defined(CONFIG_AT91_LEGACY) -# define I2C_SOFT_DECLARATIONS at91_pio_t *pio = (at91_pio_t *) AT91_PIO_BASE; +# define I2C_SOFT_DECLARATIONS at91_pio_t *pio = (at91_pio_t *) ATMEL_BASE_PIOA; # else # define I2C_SOFT_DECLARATIONS # endif |