liblitesdcard/sdcard: (temporarily) slow down SDCARD_CLK_FREQ to 25MHz

Rocket's DMA slave interface (and/or internal routing) currently
appears unable to route DMA writes from LiteSDCard at frequencies
above 25MHz (as tested on nexys4ddr, with Rocket, at 75MHz main
system clock frequency).

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
This commit is contained in:
Gabriel Somlo 2020-08-03 12:03:39 -04:00
parent 2d9dc8f939
commit df3428be07
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
#endif
#ifndef SDCARD_CLK_FREQ
#define SDCARD_CLK_FREQ 50000000
#define SDCARD_CLK_FREQ 25000000
#endif
unsigned int sdcard_response[SD_CMD_RESPONSE_SIZE/4];