diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2013-01-24 13:04:57 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2013-01-24 13:04:57 +0100 |
commit | 02a90890343a75ca71169f601605613607e450ea (patch) | |
tree | 54c4d70aecd3ac2692dbd83584d8188c55c4299d /firmware/export/config/ipodvideo.h | |
parent | d118f47d24a1791e4d97b7c09cc1188fab0d880e (diff) |
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/ipodvideo.h')
-rw-r--r-- | firmware/export/config/ipodvideo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/config/ipodvideo.h b/firmware/export/config/ipodvideo.h index 7f449eb8cf..707c7d973b 100644 --- a/firmware/export/config/ipodvideo.h +++ b/firmware/export/config/ipodvideo.h @@ -239,7 +239,9 @@ /* DMA is used only for reading on PP502x because although reads are ~8x faster * writes appear to be ~25% slower. */ +#ifndef BOOTLOADER #define HAVE_ATA_DMA +#endif /* Define this if a programmable hotkey is mapped */ #define HAVE_HOTKEY |