bios/sdram: add __attribute__((unused)) on cdelay
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 11 Apr 2019 20:26:58 +0000 (22:26 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 11 Apr 2019 20:26:58 +0000 (22:26 +0200)
litex/soc/software/bios/sdram.c

index 409a7b812e5228c59ddd4b874b5c50937961e068..ebd53130e186192dbaa6c5346d690914339acbab 100644 (file)
@@ -17,7 +17,7 @@
 #define MAIN_RAM_BASE SRAM_BASE
 #endif
 
-static void cdelay(int i)
+__attribute__((unused)) static void cdelay(int i)
 {
        while(i > 0) {
 #if defined (__lm32__)