summaryrefslogtreecommitdiffstats
path: root/firmware/rolo.c
diff options
context:
space:
mode:
authorJohannes Rauh <johnbthetenth@gmail.com>2020-08-15 18:04:47 +0200
committerWilliam Wilgus <wilgus.william@gmail.com>2020-08-19 19:17:01 -0400
commitda190727e768dea9e647989b3e765f910e9d0fbc (patch)
treed7d6443c124666ac90e5baba2605a42edd10d0c1 /firmware/rolo.c
parent8ee035b6c884142f936b03b7419d14e9102515d9 (diff)
downloadrockbox-da190727e768dea9e647989b3e765f910e9d0fbc.tar.gz
rockbox-da190727e768dea9e647989b3e765f910e9d0fbc.tar.bz2
rockbox-da190727e768dea9e647989b3e765f910e9d0fbc.zip
Enable boot from SD for Sansa e200
Change-Id: I0940f2cd5fc914d6d5061b5798b1a636009649b7
Diffstat (limited to 'firmware/rolo.c')
-rw-r--r--firmware/rolo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c
index 769346662b..de19c8e925 100644
--- a/firmware/rolo.c
+++ b/firmware/rolo.c
@@ -42,6 +42,11 @@
#if defined(MI4_FORMAT)
#include "crc32-mi4.h"
#include "mi4-loader.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); /*mi4-loader.c*/
+#endif
#define LOAD_FIRMWARE(a,b,c) load_mi4(a,b,c)
#elif defined(RKW_FORMAT)
#include "rkw-loader.h"