summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-07-07 12:43:10 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-07-07 12:43:10 -0400
commitdc364e44ef6aeef4082303bc07300d85c5852ba0 (patch)
tree89c2541e693e3ecfe41d019709581ce859a35686
parentf37b5a834967eb273c14d532de43bf31ccb51c3a (diff)
downloadrockbox-dc364e44ef.tar.gz
rockbox-dc364e44ef.zip
Disable HAVE_MULTIVOLUME for bootloaders
Multivolume support is only necessary if mounting multiple volumes simultaneously, which the bootloader won't do. Change-Id: I725061dd2aa47abe7652b0d27258dd3af821c913
-rw-r--r--firmware/export/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index c6bd74ba34..3d94828ec3 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -892,6 +892,11 @@ Lyre prototype 1 */
#endif
#endif
+/* Bootloaders don't need multivolume awareness */
+#if defined(BOOTLOADER) && defined(HAVE_MULTIVOLUME)
+#undef HAVE_MULTIVOLUME
+#endif
+
/* Explicit HAVE_MULTIVOLUME in the config file. Allow the maximum number */
#ifdef HAVE_MULTIVOLUME
#define NUM_VOLUMES_PER_DRIVE 4