mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Hack to fix #136.
This commit is contained in:
parent
fa6fef1e15
commit
22d454efcd
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,11 @@
|
|||
|
||||
#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
|
||||
|
||||
static void cdelay(int i)
|
||||
{
|
||||
while(i > 0) {
|
||||
|
|
Loading…
Reference in a new issue