diff options
author | William Wilgus <me.theuser@yahoo.com> | 2019-11-15 05:05:20 -0600 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2019-11-15 05:05:20 -0600 |
commit | 9cfdbdb355e3251dc524630ccba5f8eb895458bd (patch) | |
tree | 59e84ed0bf13f308184140db14bb1c6e42ebd708 | |
parent | 62e5a3076ca540b2ab54d2e12f8ada42ffe42148 (diff) | |
download | rockbox-9cfdbdb.tar.gz rockbox-9cfdbdb.zip |
MultiBoot_Firmware Fix red for bootloaders
Change-Id: I0446258d1f14f5423cca55de04abf545a92c61cf
-rw-r--r-- | firmware/common/disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c index 80142f6d94..c9676ed285 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c @@ -30,7 +30,7 @@ #include "dircache_redirect.h" #include "disk.h" -#if defined(HAVE_BOOTDATA) && !defined(SIMULATOR) +#if defined(HAVE_BOOTDATA) && !defined(SIMULATOR) && !defined(BOOTLOADER) #include "bootdata.h" #include "crc32.h" #endif @@ -263,7 +263,7 @@ int disk_mount_all(void) for (int i = 0; i < NUM_VOLUMES; i++) vol_drive[i] = -1; /* mark all as unassigned */ -#if defined(HAVE_BOOTDATA) && !defined(SIMULATOR) +#if defined(HAVE_BOOTDATA) && !defined(SIMULATOR) && !defined(BOOTLOADER) unsigned int crc = 0; int boot_volume = 0; crc = crc_32(boot_data.payload, boot_data.length, 0xffffffff); |