diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-01-17 06:50:27 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-01-17 06:50:27 +0000 |
commit | bcc0f88372fd2be986a5e279dd7e3bd556d6c984 (patch) | |
tree | 149db74c9cb02a1e4b219cb168053b22e41ae82b /firmware/target/arm/ata-pp5020.c | |
parent | 62207228f717d0eb29aca5d1fbc155f151d6814e (diff) |
Convert PortalPlayer iRivers to use USB-mode enabled bootloader. The H10 5/6GB already has a pre-boot USB mode (so it's a little redundant there) but building them the same way is simpler.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29067 a1c6a512-1295-4272-9138-f99709370657
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) { IDE_DMA_CONTROL |= 2; IDE_DMA_LENGTH = bytes - 4; -#ifndef BOOTLOADER +#if !defined(BOOTLOADER) || defined (HAVE_BOOTLOADER_USB_MODE) if ((unsigned long)addr < DRAM_START) /* Rockbox remaps DRAM to start at 0 */ IDE_DMA_ADDR = (unsigned long)addr + DRAM_START; |