summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-11 08:26:53 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-11 18:34:04 -0400
commite1bc36ca3187124803ffa997065c0c8a26f5e826 (patch)
tree9d52a77acb01c2ede698630c21f810a9ab847aca /firmware
parentdb6f21e2954db63cd04de73ed472c48f63b80a89 (diff)
downloadrockbox-e1bc36ca3187124803ffa997065c0c8a26f5e826.tar.gz
rockbox-e1bc36ca3187124803ffa997065c0c8a26f5e826.tar.bz2
rockbox-e1bc36ca3187124803ffa997065c0c8a26f5e826.zip
Turn on ROLO for M3K too
Change-Id: I7e1b2168a70605c5a138d83fd69e847fd02af4a4
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/fiiom3k.h5
-rw-r--r--firmware/target/hosted/rolo.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/firmware/export/config/fiiom3k.h b/firmware/export/config/fiiom3k.h
index 933e85dab9..01fc19d542 100644
--- a/firmware/export/config/fiiom3k.h
+++ b/firmware/export/config/fiiom3k.h
@@ -128,3 +128,8 @@
#define BATTERY_CAPACITY_MIN 1100 /* min. capacity selectable */
#define BATTERY_CAPACITY_MAX 1100 /* max. capacity selectable */
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
+
+/* ROLO */
+#define BOOTFILE_EXT "m3k"
+#define BOOTFILE "rockbox." BOOTFILE_EXT
+#define BOOTDIR "/.rockbox"
diff --git a/firmware/target/hosted/rolo.c b/firmware/target/hosted/rolo.c
index 2aa3071c9a..9c8809aab4 100644
--- a/firmware/target/hosted/rolo.c
+++ b/firmware/target/hosted/rolo.c
@@ -94,7 +94,7 @@ int rolo_load(const char* filename)
#ifdef PIVOT_ROOT
#define EXECDIR PIVOT_ROOT
#else
-#define EXECDIR ROOT_DIR
+#define EXECDIR HOME_DIR
#endif
char buf[256];