From: Florent Kermarrec Date: Fri, 28 Jun 2019 20:18:24 +0000 (+0200) Subject: bios/main: fix spiflash compilation warnings X-Git-Tag: 24jan2021_ls180~1136 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f3c8a9b8a0fe741a89f67a73c8fcf8eea89c459;p=litex.git bios/main: fix spiflash compilation warnings --- diff --git a/litex/soc/software/bios/main.c b/litex/soc/software/bios/main.c index 5c21e6b5..224173cc 100644 --- a/litex/soc/software/bios/main.c +++ b/litex/soc/software/bios/main.c @@ -31,7 +31,7 @@ #include #endif -#ifdef FLASH_BOOT_ADDRESS +#ifdef CSR_SPIFLASH_BASE #include #endif @@ -140,6 +140,7 @@ static void mw(char *addr, char *value, char *count) for (i=0;i