From 07f145fdafd08148c981332d71b834a9cf0a4b58 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 25 Jun 2020 08:58:01 +0200 Subject: [PATCH] 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. --- litex/soc/software/liblitedram/sdram.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/litex/soc/software/liblitedram/sdram.c b/litex/soc/software/liblitedram/sdram.c index 64ed5f1e1..0a6ff9516 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