]> xenbits.xensource.com Git - seabios.git/commit
sdcard: Implement timeout on every block read in sdcard_pio_transfer()
authorKevin O'Connor <kevin@koconnor.net>
Wed, 12 Aug 2015 16:58:23 +0000 (12:58 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 17 Aug 2015 16:11:24 +0000 (12:11 -0400)
commit18254b3c5fe7c3b2a578e7a20f57fc2262c5686f
tree9884c636790ddf5da565386b59c5cdc335cd4860
parent34cc2fd4e8b0db6fdbeaea161b1cdb24ed559d33
sdcard: Implement timeout on every block read in sdcard_pio_transfer()

The sdcard specs don't specify a maximum time for arbitrary transfers.
Instead, each block has a maximum timeout.  So, change the code to
check for a timeout on each block transferred.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/hw/sdcard.c