commit | fdf4afc85fe0462569e2dae475662fed1088ab1c | [log] [tgz] |
---|---|---|
author | Wedson Almeida Filho <wedsonaf@google.com> | Thu Jul 19 15:45:21 2018 +0100 |
committer | Wedson Almeida Filho <wedsonaf@google.com> | Fri Jul 20 00:10:45 2018 +0100 |
tree | 22d0e0c2fc0792dd4b9ecb3c555641728d2ff598 | |
parent | 8c4e475532e7e09719b21f6bc2ea4f62b8c7b2c1 [diff] [blame] |
Move fdt handling logic out of main.c. This is in preparation for having archs/platforms that don't use FDT.
diff --git a/inc/dlog.h b/inc/dlog.h index fca8103..1d514a3 100644 --- a/inc/dlog.h +++ b/inc/dlog.h
@@ -1,12 +1,14 @@ #ifndef _DLOG_H #define _DLOG_H +#include <stdarg.h> + #if DEBUG void dlog(const char *fmt, ...); +void vdlog(const char *fmt, va_list args); #else #define dlog(...) +#define vdlog(fmt, args) #endif -void dlog_init(void (*pchar)(char)); - #endif /* _DLOG_H */