From 9f3c8a9b8a0fe741a89f67a73c8fcf8eea89c459 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 28 Jun 2019 22:18:24 +0200 Subject: [PATCH] bios/main: fix spiflash compilation warnings --- litex/soc/software/bios/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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