1
0
mirror of https://github.com/marqs85/ossc.git synced 2024-06-18 05:29:33 +00:00
ossc/software/sys_controller/ulibSD
Ari Sundholm 598705c7fa ulibSD/sd_io.c: Fix writing to SD card.
There were a few things wrong with the SD card write implementation:
1. The protocol change regarding the interpretation of offsets
   introduced with SDHC cards was not taken into account in the write
   path, unlike in the read path.
2. All SPI writes involved in the process were actually issued as reads
   due to the use of the SPI_RW() function, the implementation of which
   seems to have gone through some churn. Likely just an instance of
   bit-rot.
2020-11-05 19:11:04 +02:00
..
integer.h SD SPI implementation finished 2016-10-21 01:19:53 +03:00
sd_io.c ulibSD/sd_io.c: Fix writing to SD card. 2020-11-05 19:11:04 +02:00
sd_io.h SD SPI implementation finished 2016-10-21 01:19:53 +03:00
spi_io.c i2c_opencores.[ch], spi_io.[ch]: Improve const correctness. 2020-11-05 19:11:04 +02:00
spi_io.h i2c_opencores.[ch], spi_io.[ch]: Improve const correctness. 2020-11-05 19:11:04 +02:00