From: Florent Kermarrec Date: Thu, 11 Jun 2020 17:18:30 +0000 (+0200) Subject: software/spisdcard: reduce SPISDCARD_CLK_FREQ to 16MHz. X-Git-Tag: 24jan2021_ls180~181 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ddf350c2d21b7a53ed0c14e63ba5db0bb859fb6;p=litex.git software/spisdcard: reduce SPISDCARD_CLK_FREQ to 16MHz. 25MHz does not seem to work on all boards/configurations, needs to be investigated. --- diff --git a/litex/soc/software/liblitesdcard/spisdcard.c b/litex/soc/software/liblitesdcard/spisdcard.c index 5d336560..19cbaf7a 100644 --- a/litex/soc/software/liblitesdcard/spisdcard.c +++ b/litex/soc/software/liblitesdcard/spisdcard.c @@ -24,7 +24,7 @@ #define SPISDCARD_CLK_FREQ_INIT 400000 #endif #ifndef SPISDCARD_CLK_FREQ -#define SPISDCARD_CLK_FREQ 25000000 +#define SPISDCARD_CLK_FREQ 16000000 #endif /*-----------------------------------------------------------------------*/