diff options
author | wdenk | 2004-11-21 00:06:33 +0000 |
---|---|---|
committer | wdenk | 2004-11-21 00:06:33 +0000 |
commit | 9d5028c2f7a65d3777867a6cfc966a01a5823132 (patch) | |
tree | c971cc2b0d41e422585c1911fffda7d2d6403ee4 /cpu/at91rm9200/i2c.c | |
parent | cacfab588a897c369a4906818c5ed4bc40a450c5 (diff) |
* Update for AT91RM9200DK and CMC_PU2 boards:
- Enable booting directly from flash
- fix CMC_PU2 flash driver
* Fix mkimage usage message
Diffstat (limited to 'cpu/at91rm9200/i2c.c')
-rw-r--r-- | cpu/at91rm9200/i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/at91rm9200/i2c.c b/cpu/at91rm9200/i2c.c index 515792c7e86..c12d2dd1a66 100644 --- a/cpu/at91rm9200/i2c.c +++ b/cpu/at91rm9200/i2c.c @@ -42,7 +42,7 @@ static int debug = 0; static short at91_poll_status(AT91PS_TWI twi, unsigned long bit) { int loop_cntr = 10000; do { - udelay(100); + udelay(10); } while (!(twi->TWI_SR & bit) && (--loop_cntr > 0)); return (loop_cntr > 0); |