From 16417cb8f1b726a8b3b9524439f6b6b9131f9037 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 20 May 2020 23:20:45 +0200 Subject: [PATCH] software/liblitespi: fix #endif location. --- litex/soc/software/liblitespi/spiflash.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litex/soc/software/liblitespi/spiflash.c b/litex/soc/software/liblitespi/spiflash.c index 71bbb6039..ae0d9e451 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