liblitesdcard/sdcard: update with litesdcard.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 26 Jun 2020 18:10:10 +0000 (20:10 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 26 Jun 2020 18:10:10 +0000 (20:10 +0200)
litex/soc/software/liblitesdcard/sdcard.c

index 0d5c5c768cebaec3cc0c24ef39d3d70c91cf3e97..4b9e8aef2646d8cddf15bdf08ef34cced886c8d2 100644 (file)
@@ -517,7 +517,6 @@ void sdcard_write(uint32_t sector, uint32_t count, uint8_t* buf)
                while ((sdwriter_done_read() & 0x1) == 0);
 
                /* Write Single Block to SDCard */
-               sdcore_datawcrcclear_write(1);
                sdcard_set_block_count(1);
                sdcard_write_single_block(sector);