From 5ddf350c2d21b7a53ed0c14e63ba5db0bb859fb6 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 11 Jun 2020 19:18:30 +0200 Subject: [PATCH] software/spisdcard: reduce SPISDCARD_CLK_FREQ to 16MHz. 25MHz does not seem to work on all boards/configurations, needs to be investigated. --- litex/soc/software/liblitesdcard/spisdcard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/software/liblitesdcard/spisdcard.c b/litex/soc/software/liblitesdcard/spisdcard.c index 5d336560a..19cbaf7af 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 /*-----------------------------------------------------------------------*/