summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/hosted/rolo.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/firmware/target/hosted/rolo.c b/firmware/target/hosted/rolo.c
index 04b21d553e..dfe483c964 100644
--- a/firmware/target/hosted/rolo.c
+++ b/firmware/target/hosted/rolo.c
@@ -37,12 +37,6 @@
37//#define LOGF_ENABLE 37//#define LOGF_ENABLE
38#include "logf.h" 38#include "logf.h"
39 39
40#if defined(HAVE_BOOTDATA) && !defined(SIMULATOR)
41#include "bootdata.h"
42#include "crc32.h"
43extern int write_bootdata(unsigned char* buf, int len, unsigned int boot_volume); /*rb-loader.c*/
44#endif
45
46static void rolo_error(const char *text, const char *text2) 40static void rolo_error(const char *text, const char *text2)
47{ 41{
48 lcd_clear_display(); 42 lcd_clear_display();
@@ -72,16 +66,6 @@ int rolo_load(const char* filename)
72 66
73 audio_stop(); 67 audio_stop();
74 68
75#if defined(HAVE_BOOTDATA) && !defined(SIMULATOR)
76 /* write the bootdata as if rolo were the bootloader */
77 unsigned int crc = 0;
78 if (strcmp(filename, BOOTDIR "/" BOOTFILE) == 0)
79 crc = crc_32(boot_data.payload, boot_data.length, 0xffffffff);
80
81 if(crc > 0 && crc == boot_data.crc)
82 write_bootdata(filebuf, filebuf_size, boot_data.boot_volume); /* rb-loader.c */
83#endif
84
85#ifdef HAVE_STORAGE_FLUSH 69#ifdef HAVE_STORAGE_FLUSH
86 lcd_puts(0, 2, "Flushing storage buffers"); 70 lcd_puts(0, 2, "Flushing storage buffers");
87 lcd_update(); 71 lcd_update();