commit | 9d5028c2f7a65d3777867a6cfc966a01a5823132 | [log] [tgz] |
---|---|---|
author | wdenk <wdenk> | Sun Nov 21 00:06:33 2004 +0000 |
committer | wdenk <wdenk> | Sun Nov 21 00:06:33 2004 +0000 |
tree | c971cc2b0d41e422585c1911fffda7d2d6403ee4 | |
parent | cacfab588a897c369a4906818c5ed4bc40a450c5 [diff] [blame] |
* Update for AT91RM9200DK and CMC_PU2 boards: - Enable booting directly from flash - fix CMC_PU2 flash driver * Fix mkimage usage message
diff --git a/cpu/at91rm9200/i2c.c b/cpu/at91rm9200/i2c.c index 515792c..c12d2dd 100644 --- a/cpu/at91rm9200/i2c.c +++ b/cpu/at91rm9200/i2c.c
@@ -42,7 +42,7 @@ 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);