summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-08-30 21:56:11 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-08-30 21:56:11 -0400
commit748133cf9d7d6cf1f79f0f9ce13a9f327dd7a09f (patch)
tree83828c76e793ab6cc32515c7390b8369048e1f19 /firmware
parent8dadce5c4cc9564cfeb49f42ec83fd1727c9ccdb (diff)
downloadrockbox-748133cf9d7d6cf1f79f0f9ce13a9f327dd7a09f.tar.gz
rockbox-748133cf9d7d6cf1f79f0f9ce13a9f327dd7a09f.zip
xduoox3: Fix bootloader build
Change-Id: Ia2f2dba4a263c82aebc7fab9da4ad69ef90565ea
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/debug-jz4760.c7
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
32static int line = 0; 34static 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
181void serial_putc (const char c) 188void serial_putc (const char c)