Files
u-boot/drivers
Raul Benet b1125802a5 mmc: bcm2835-host: Fix wait_transfer_complete
Function bcm_2835_wait_transfer_complete() is not waiting long enough.
The previous code was claiming to wait for ~1 seconds, but as it depends
on register reads it's time actually varies.
Some cards require wait times of up to ~56 ms to perform
the command 'saveenv' on an EXT4 partition.

Re-implement the loop exit condition to use get_timer() which allows
to specify the wait time in more reliable manner. Set the maximum wait
time to the originally intended 1 second.

Signed-off by: Raul Benet <raul.benet_at_kaptivo.com>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
2019-09-06 18:16:59 +02:00
..
2019-05-21 08:03:38 +02:00
2019-02-27 09:12:33 +08:00
2019-08-11 16:43:41 -04:00
2019-05-18 08:15:35 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-08-26 11:46:28 -04:00
2019-02-20 15:27:08 +08:00
2019-08-07 15:31:04 -04:00
2019-07-19 20:14:50 +02:00
2019-08-11 16:43:41 -04:00
2019-08-11 16:43:41 -04:00
2019-05-24 10:14:10 -07:00
2019-08-11 16:43:41 -04:00
2019-07-19 15:17:05 +02:00
2019-07-11 14:11:18 -04:00
2019-08-11 16:43:41 -04:00
2019-08-11 19:27:41 -04:00
2019-08-11 19:27:41 -04:00