Revise boot code. Remove MCU definitions.

This commit is contained in:
sorgelig
2018-01-03 18:40:40 +08:00
parent 93a405341c
commit a2ef5eb88d
14 changed files with 175 additions and 211 deletions

View File

@@ -4,10 +4,6 @@
#include <inttypes.h>
#include <stdio.h>
#define iprintf(...) printf(__VA_ARGS__)
#define siprintf(...) sprintf(__VA_ARGS__)
#define BootPrint(text) iprintf("%s\n", text)
unsigned long GetTimer(unsigned long offset);
unsigned long CheckTimer(unsigned long t);
void WaitTimer(unsigned long time);