summaryrefslogtreecommitdiff
path: root/firmware/export/config/ipodcolor.h
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2013-01-24 13:04:57 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2013-01-24 13:04:57 +0100
commit02a90890343a75ca71169f601605613607e450ea (patch)
tree54c4d70aecd3ac2692dbd83584d8188c55c4299d /firmware/export/config/ipodcolor.h
parentd118f47d24a1791e4d97b7c09cc1188fab0d880e (diff)
downloadrockbox-02a90890343a75ca71169f601605613607e450ea.tar.gz
rockbox-02a90890343a75ca71169f601605613607e450ea.zip
PP: Do not use ATA DMA in bootloader
The build of bootloader with HAVE_ATA_DMA fails because of missing commit_discard_dcache(). This seems to be bigger problem as bootloader builds don't call cache_init() also which seems wrong. but I know too little about the PP platform to judge. For now use ATA DMA only in regular builds. Change-Id: I82873cb1771f5a95ebfbef91ce26744e3abd743c
Diffstat (limited to 'firmware/export/config/ipodcolor.h')
-rw-r--r--firmware/export/config/ipodcolor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/config/ipodcolor.h b/firmware/export/config/ipodcolor.h
index 665ea153c2..b844f61ec4 100644
--- a/firmware/export/config/ipodcolor.h
+++ b/firmware/export/config/ipodcolor.h
@@ -213,7 +213,9 @@
213/* DMA is used only for reading on PP502x because although reads are ~8x faster 213/* DMA is used only for reading on PP502x because although reads are ~8x faster
214 * writes appear to be ~25% slower. 214 * writes appear to be ~25% slower.
215 */ 215 */
216#ifndef BOOTLOADER
216#define HAVE_ATA_DMA 217#define HAVE_ATA_DMA
218#endif
217 219
218/* Define this, if you can switch on/off the lineout */ 220/* Define this, if you can switch on/off the lineout */
219#define HAVE_LINEOUT_POWEROFF 221#define HAVE_LINEOUT_POWEROFF