Hack to fix #136.

This commit is contained in:
Tim 'mithro' Ansell 2018-12-16 14:40:10 -08:00
parent fa6fef1e15
commit 22d454efcd
1 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,11 @@
#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
static void cdelay(int i) static void cdelay(int i)
{ {
while(i > 0) { while(i > 0) {