diff --git a/litex/soc/software/liblitesata/sata.c b/litex/soc/software/liblitesata/sata.c index cbc2cd3a8..cef80e8b9 100644 --- a/litex/soc/software/liblitesata/sata.c +++ b/litex/soc/software/liblitesata/sata.c @@ -26,11 +26,19 @@ int sata_init(void) { void sata_read(uint32_t block, uint32_t count, uint8_t* buf) { uint32_t i; + + /* Read blocks */ for (i=0; i