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.
This commit is contained in:
Florent Kermarrec 2020-06-25 08:58:01 +02:00
parent e2f9a82529
commit 07f145fdaf
1 changed files with 0 additions and 8 deletions

View File

@ -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