summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2016-05-02 01:17:05 +0200
committerCástor Muñoz <cmvidal@gmail.com>2016-05-25 10:52:19 +0200
commitc31fcddd985a9855ece85f4209a4bdae77f3f9c8 (patch)
tree921ef8a9bea0ff52717092c2ca3e5a7dbe26e18f /bootloader
parente62203aac1876987e52f3be9db079bd4ad133b28 (diff)
downloadrockbox-c31fcddd985a9855ece85f4209a4bdae77f3f9c8.tar.gz
rockbox-c31fcddd985a9855ece85f4209a4bdae77f3f9c8.tar.bz2
rockbox-c31fcddd985a9855ece85f4209a4bdae77f3f9c8.zip
bootloader/common: disable unused broken code
Disable (probably old) broken code, this fixes bootloader builds when ROCKBOX_HAS_LOGF is used. Change-Id: Id0ed2c3368855e2d2d2dbfb18149b9ed81c10b95
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootloader/common.c b/bootloader/common.c
index 21b26e881c..46c0e3441f 100644
--- a/bootloader/common.c
+++ b/bootloader/common.c
@@ -154,6 +154,8 @@ int load_raw_firmware(unsigned char* buf, char* firmware, int buffer_size)
return len;
}
+/* FIXME?: unused broken code */
+#if 0
#ifdef ROCKBOX_HAS_LOGF /* Logf display helper for the bootloader */
#define LINES (LCD_HEIGHT/SYSFONT_HEIGHT)
@@ -233,3 +235,4 @@ void display_logf(void) /* Doesn't return! */
}
}
#endif
+#endif