From dc364e44ef6aeef4082303bc07300d85c5852ba0 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 7 Jul 2024 12:43:10 -0400 Subject: Disable HAVE_MULTIVOLUME for bootloaders Multivolume support is only necessary if mounting multiple volumes simultaneously, which the bootloader won't do. Change-Id: I725061dd2aa47abe7652b0d27258dd3af821c913 --- firmware/export/config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware/export/config.h') 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 -- cgit v1.2.3