From: Florent Kermarrec Date: Thu, 25 Jun 2020 06:58:01 +0000 (+0200) Subject: software/liblitedram/sdram: remove SRAM hack. X-Git-Tag: 24jan2021_ls180~146 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07f145fdafd08148c981332d71b834a9cf0a4b58;p=litex.git software/liblitedram/sdram: remove SRAM hack. We now have memtest bios functions to test memories and testing SRAM while used by the BIOS is probably not a good idea. --- diff --git a/litex/soc/software/liblitedram/sdram.c b/litex/soc/software/liblitedram/sdram.c index 64ed5f1e..0a6ff951 100644 --- a/litex/soc/software/liblitedram/sdram.c +++ b/litex/soc/software/liblitedram/sdram.c @@ -23,14 +23,6 @@ #include "sdram.h" -// FIXME(hack): If we don't have main ram, just target the sram instead. -#ifndef MAIN_RAM_BASE -#define MAIN_RAM_BASE SRAM_BASE -#endif -#ifndef MAIN_RAM_SIZE -#define MAIN_RAM_SIZE SRAM_SIZE -#endif - __attribute__((unused)) static void cdelay(int i) { #ifndef CONFIG_SIM_DISABLE_DELAYS