From 02a90890343a75ca71169f601605613607e450ea Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Thu, 24 Jan 2013 13:04:57 +0100 Subject: 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 --- firmware/export/config/samsungyh820.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/export/config/samsungyh820.h') diff --git a/firmware/export/config/samsungyh820.h b/firmware/export/config/samsungyh820.h index 50db85a7a7..2f60683a55 100644 --- a/firmware/export/config/samsungyh820.h +++ b/firmware/export/config/samsungyh820.h @@ -185,7 +185,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 -- cgit v1.2.3