From: Florent Kermarrec Date: Thu, 11 Apr 2019 20:26:58 +0000 (+0200) Subject: bios/sdram: add __attribute__((unused)) on cdelay X-Git-Tag: 24jan2021_ls180~1339 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7ac96761c46b15fff3a46f7c79c98be8f4c49a6;p=litex.git bios/sdram: add __attribute__((unused)) on cdelay --- diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 409a7b81..ebd53130 100644 --- a/litex/soc/software/bios/sdram.c +++ b/litex/soc/software/bios/sdram.c @@ -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__)