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:
parent
e2f9a82529
commit
07f145fdaf
|
@ -23,14 +23,6 @@
|
||||||
|
|
||||||
#include "sdram.h"
|
#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)
|
__attribute__((unused)) static void cdelay(int i)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_SIM_DISABLE_DELAYS
|
#ifndef CONFIG_SIM_DISABLE_DELAYS
|
||||||
|
|
Loading…
Reference in New Issue