Hack to fix #136.
This commit is contained in:
parent
fa6fef1e15
commit
22d454efcd
|
@ -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 New Issue