diff --git a/litex/soc/software/bios/main.c b/litex/soc/software/bios/main.c index 5c21e6b50..224173cc6 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