Merge pull request #138 from mithro/mainram-hack

Hack to fix #136.
This commit is contained in:
Tim Ansell 2018-12-16 14:42:36 -08:00 committed by GitHub
commit 0ade06c0f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

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