summaryrefslogtreecommitdiff
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-dc364e44ef6aeef4082303bc07300d85c5852ba0.tar.gz
rockbox-dc364e44ef6aeef4082303bc07300d85c5852ba0.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 */
892#endif 892#endif
893#endif 893#endif
894 894
895/* Bootloaders don't need multivolume awareness */
896#if defined(BOOTLOADER) && defined(HAVE_MULTIVOLUME)
897#undef HAVE_MULTIVOLUME
898#endif
899
895/* Explicit HAVE_MULTIVOLUME in the config file. Allow the maximum number */ 900/* Explicit HAVE_MULTIVOLUME in the config file. Allow the maximum number */
896#ifdef HAVE_MULTIVOLUME 901#ifdef HAVE_MULTIVOLUME
897#define NUM_VOLUMES_PER_DRIVE 4 902#define NUM_VOLUMES_PER_DRIVE 4