diff options
Diffstat (limited to 'firmware/target/arm/ata-pp5020.c')
-rw-r--r-- | firmware/target/arm/ata-pp5020.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/ata-pp5020.c b/firmware/target/arm/ata-pp5020.c index c8ce148dd7..44297a5a7e 100644 --- a/firmware/target/arm/ata-pp5020.c +++ b/firmware/target/arm/ata-pp5020.c | |||
@@ -193,7 +193,7 @@ bool ata_dma_setup(void *addr, unsigned long bytes, bool write) { | |||
193 | IDE_DMA_CONTROL |= 2; | 193 | IDE_DMA_CONTROL |= 2; |
194 | IDE_DMA_LENGTH = bytes - 4; | 194 | IDE_DMA_LENGTH = bytes - 4; |
195 | 195 | ||
196 | #ifndef BOOTLOADER | 196 | #if !defined(BOOTLOADER) || defined (HAVE_BOOTLOADER_USB_MODE) |
197 | if ((unsigned long)addr < DRAM_START) | 197 | if ((unsigned long)addr < DRAM_START) |
198 | /* Rockbox remaps DRAM to start at 0 */ | 198 | /* Rockbox remaps DRAM to start at 0 */ |
199 | IDE_DMA_ADDR = (unsigned long)addr + DRAM_START; | 199 | IDE_DMA_ADDR = (unsigned long)addr + DRAM_START; |