diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-07-07 12:43:10 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-07-07 12:43:10 -0400 |
commit | dc364e44ef6aeef4082303bc07300d85c5852ba0 (patch) | |
tree | 89c2541e693e3ecfe41d019709581ce859a35686 /firmware | |
parent | f37b5a834967eb273c14d532de43bf31ccb51c3a (diff) | |
download | rockbox-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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/config.h | 5 |
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 |