From: Florent Kermarrec Date: Wed, 20 May 2020 21:20:45 +0000 (+0200) Subject: software/liblitespi: fix #endif location. X-Git-Tag: 24jan2021_ls180~309 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16417cb8f1b726a8b3b9524439f6b6b9131f9037;p=litex.git software/liblitespi: fix #endif location. --- diff --git a/litex/soc/software/liblitespi/spiflash.c b/litex/soc/software/liblitespi/spiflash.c index 71bbb603..ae0d9e45 100644 --- a/litex/soc/software/liblitespi/spiflash.c +++ b/litex/soc/software/liblitespi/spiflash.c @@ -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