From 83aded979f074b6d48cd05db8f7f991e51372e38 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 2 Nov 2006 20:50:50 +0000 Subject: H300: (1) Use DMA for LCD updates, with auto-aligned line reads. Speeds up LCD updates by ~ 75% at 11MHz and 45MHz. Only ~ 11% speedup at 124MHz due to (2). (2) Less aggressive LCD transfer timing at 124MHz. With the previous timing, slightly corrupted display contents was reported, and with DMA transfers at least 4 waitstates are needed to make updates work at all. * A table in system-iriver.c shows settings for all integer multiples of the base clock frequency (info for developers, not yet complete). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11418 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/mcf5249.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/export') diff --git a/firmware/export/mcf5249.h b/firmware/export/mcf5249.h index 406e0b1c1b..87c4ae75b3 100644 --- a/firmware/export/mcf5249.h +++ b/firmware/export/mcf5249.h @@ -251,6 +251,7 @@ #define DMA_EEXT (1 << 30) /* Enable peripherial request */ #define DMA_CS (1 << 29) /* Cycle Steal */ #define DMA_AA (1 << 28) /* Auto-Align */ +#define DMA_BWC(x) (((x)&7) << 25) /* Bandwidth control */ #define DMA_SINC (1 << 22) /* Source Increment */ #define DMA_SSIZE(x) (((x)&3) << 20) /* Size of source data */ #define DMA_DINC (1 << 19) /* Destination Increment */ -- cgit v1.2.3