diff options
author | Marian Balakowicz <m8@semihalf.com> | 2005-10-11 19:09:42 +0200 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2005-10-11 19:09:42 +0200 |
commit | e6f2e902334d5ee65bab9cf8292cf668243531e9 (patch) | |
tree | 9ee0039daaa8161bc282f1af8d3827a5071acbc7 /cpu/mpc83xx/i2c.c | |
parent | 3df5bea0b0bddc196bf952c51d1dd54d966b82ba (diff) | |
download | u-boot-imx-e6f2e902334d5ee65bab9cf8292cf668243531e9.zip u-boot-imx-e6f2e902334d5ee65bab9cf8292cf668243531e9.tar.gz u-boot-imx-e6f2e902334d5ee65bab9cf8292cf668243531e9.tar.bz2 |
Added support for TQM834x boards.
Diffstat (limited to 'cpu/mpc83xx/i2c.c')
-rw-r--r-- | cpu/mpc83xx/i2c.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu/mpc83xx/i2c.c b/cpu/mpc83xx/i2c.c index 3db7d2c..7ccb8a9 100644 --- a/cpu/mpc83xx/i2c.c +++ b/cpu/mpc83xx/i2c.c @@ -41,7 +41,7 @@ #include <i2c.h> #include <asm/i2c.h> -#ifdef CONFIG_MPC8349ADS +#if defined(CONFIG_MPC8349ADS) || defined(CONFIG_TQM834X) i2c_t * mpc8349_i2c = (i2c_t*)(CFG_IMMRBAR + CFG_I2C_OFFSET); #endif @@ -109,7 +109,9 @@ i2c_wait (int write) return 0; } while (get_timer (timeval) < I2C_TIMEOUT); + debug("i2c_wait: timed out\n"); + return -1; } static __inline__ int |