software/liblitespi: fix #endif location.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 20 May 2020 21:20:45 +0000 (23:20 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 20 May 2020 21:20:45 +0000 (23:20 +0200)
litex/soc/software/liblitespi/spiflash.c

index 71bbb60396a4a851f25282e34080bfe5cba53f52..ae0d9e451cb071ae1422ee56c074822d725ff333 100644 (file)
@@ -63,8 +63,6 @@ int spiflash_freq_init(void)
        return 0;
 }
 
-#endif
-
 void spiflash_dummy_bits_setup(unsigned int dummy_bits)
 {
        spiflash_mmap_dummy_bits_write((uint32_t)dummy_bits);
@@ -87,3 +85,4 @@ void spiflash_init(void)
 #endif
 }
 
+#endif