diff options
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/debug-jz4760.c')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/debug-jz4760.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c b/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c index 3634a88f11..be921efa13 100644 --- a/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c +++ b/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c | |||
@@ -29,6 +29,8 @@ | |||
29 | #include "button.h" | 29 | #include "button.h" |
30 | #include "timefuncs.h" | 30 | #include "timefuncs.h" |
31 | 31 | ||
32 | #ifndef BOOTLOADER | ||
33 | |||
32 | static int line = 0; | 34 | static int line = 0; |
33 | 35 | ||
34 | /* | 36 | /* |
@@ -176,6 +178,11 @@ bool dbg_hw_info(void) | |||
176 | } | 178 | } |
177 | return true; | 179 | return true; |
178 | } | 180 | } |
181 | #endif | ||
182 | |||
183 | #ifdef BOOTLOADER | ||
184 | #define WITH_SERIAL | ||
185 | #endif | ||
179 | 186 | ||
180 | #ifdef WITH_SERIAL | 187 | #ifdef WITH_SERIAL |
181 | void serial_putc (const char c) | 188 | void serial_putc (const char c) |