forked from len0rd/rockbox
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
This commit is contained in:
parent
d118f47d24
commit
02a9089034
14 changed files with 28 additions and 0 deletions
|
|
@ -204,7 +204,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
|
||||
|
|
|
|||
|
|
@ -228,7 +228,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 you can switch on/off the lineout */
|
||||
#define HAVE_LINEOUT_POWEROFF
|
||||
|
|
|
|||
|
|
@ -213,7 +213,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 you can switch on/off the lineout */
|
||||
#define HAVE_LINEOUT_POWEROFF
|
||||
|
|
|
|||
|
|
@ -215,7 +215,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
|
||||
|
|
|
|||
|
|
@ -218,7 +218,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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -193,7 +193,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
|
||||
|
|
|
|||
|
|
@ -181,7 +181,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
|
||||
|
|
|
|||
|
|
@ -204,7 +204,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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -191,7 +191,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
|
||||
|
|
|
|||
|
|
@ -189,7 +189,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
|
||||
|
|
|
|||
|
|
@ -141,7 +141,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
|
||||
|
|
|
|||
|
|
@ -199,7 +199,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue