diff options
Diffstat (limited to 'include/libfdt.h')
| -rw-r--r-- | include/libfdt.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/libfdt.h b/include/libfdt.h index 65b3ca6..d734715 100644 --- a/include/libfdt.h +++ b/include/libfdt.h @@ -1 +1,12 @@ +#ifndef APOS_LIBFDT_H +#define APOS_LIBFDT_H #include "../dtc/libfdt/libfdt.h" + +#if defined(DEBUG) +void __dbg_fdt(void *fdt, int node_offset, int depth); +#define dbg_fdt(fdt) __dbg_fdt(fdt, 0, 0) +#else +#define dbg_fdt(...) +#endif + +#endif |
