liblitesdcard/spisdcard: update comments.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 17 Jul 2020 13:39:39 +0000 (15:39 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 17 Jul 2020 13:39:39 +0000 (15:39 +0200)
litex/soc/software/liblitesdcard/spisdcard.c

index 55854b76adb09d18697e37c6450e2a45d6acead7..d4c3370de65d43e7e3bedec44d81a371ca7a7abe 100644 (file)
@@ -35,7 +35,7 @@
 #define min(x, y) (((x) < (y)) ? (x) : (y))
 
 /*-----------------------------------------------------------------------*/
-/* SPI Master low-level functions                                        */
+/* SPI SDCard clocker functions                                          */
 /*-----------------------------------------------------------------------*/
 
 static void spi_set_clk_freq(uint32_t clk_freq) {
@@ -53,6 +53,10 @@ static void spi_set_clk_freq(uint32_t clk_freq) {
     spisdcard_clk_divider_write(divider);
 }
 
+/*-----------------------------------------------------------------------*/
+/* SPI SDCard low-level functions                                        */
+/*----------------------------------------------------------------------*/
+
 static uint8_t spi_xfer(uint8_t byte) {
     /* Write byte on MOSI */
     spisdcard_mosi_write(byte);