summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd.eu>2010-03-24 10:16:20 +0100
committerWolfgang Denk <wd@denx.de>2010-03-24 13:06:24 +0100
commitfb508b8b39a52a4063d098f5a9b4355bc5b30c14 (patch)
tree4a42da1f7acd8afade609fcd2c7f24927ec444cf /include
parent152dda3d94e97ede7af3f9560a59a659384d4585 (diff)
downloadu-boot-imx-fb508b8b39a52a4063d098f5a9b4355bc5b30c14.zip
u-boot-imx-fb508b8b39a52a4063d098f5a9b4355bc5b30c14.tar.gz
u-boot-imx-fb508b8b39a52a4063d098f5a9b4355bc5b30c14.tar.bz2
at91: Get rid of some warnings when building for otc570
The soft-i2c code for AT91 defines I2C_SOFT_DECLARATIONS for direct access by dereferencing a pio pointer. The OTC570 platform uses the AT91 gpio API so it does not need the pio variable. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Diffstat (limited to 'include')
-rw-r--r--include/configs/otc570.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/otc570.h b/include/configs/otc570.h
index 8e27eba..4fde012 100644
--- a/include/configs/otc570.h
+++ b/include/configs/otc570.h
@@ -102,6 +102,7 @@
at91_set_pio_output(AT91_PIO_PORTB, 4, 0); \
at91_set_pio_output(AT91_PIO_PORTB, 5, 0); \
}
+#define I2C_SOFT_DECLARATIONS
/* Configure data pin as output */
#define I2C_ACTIVE at91_set_pio_output(AT91_PIO_PORTB, 4, 0)
/* Configure data pin as input */