mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
multiboot: Remove bad multiboot code from hosted RoLo
This looks like it was copy-pasted blindly from elsewhere and it wouldn't even compile, since hosted RoLo is completely different from native RoLo. Change-Id: I4074f5323dcbdae85db8a04f222c858e9a228432
This commit is contained in:
parent
eae9f6f5b7
commit
439b4e8bca
1 changed files with 0 additions and 16 deletions
|
|
@ -37,12 +37,6 @@
|
|||
//#define LOGF_ENABLE
|
||||
#include "logf.h"
|
||||
|
||||
#if defined(HAVE_BOOTDATA) && !defined(SIMULATOR)
|
||||
#include "bootdata.h"
|
||||
#include "crc32.h"
|
||||
extern int write_bootdata(unsigned char* buf, int len, unsigned int boot_volume); /*rb-loader.c*/
|
||||
#endif
|
||||
|
||||
static void rolo_error(const char *text, const char *text2)
|
||||
{
|
||||
lcd_clear_display();
|
||||
|
|
@ -72,16 +66,6 @@ int rolo_load(const char* filename)
|
|||
|
||||
audio_stop();
|
||||
|
||||
#if defined(HAVE_BOOTDATA) && !defined(SIMULATOR)
|
||||
/* write the bootdata as if rolo were the bootloader */
|
||||
unsigned int crc = 0;
|
||||
if (strcmp(filename, BOOTDIR "/" BOOTFILE) == 0)
|
||||
crc = crc_32(boot_data.payload, boot_data.length, 0xffffffff);
|
||||
|
||||
if(crc > 0 && crc == boot_data.crc)
|
||||
write_bootdata(filebuf, filebuf_size, boot_data.boot_volume); /* rb-loader.c */
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STORAGE_FLUSH
|
||||
lcd_puts(0, 2, "Flushing storage buffers");
|
||||
lcd_update();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue