AT91SAM9RL soc has a 2048 bytes deep FIFO, like AT91SAM9263.
Signed-off-by: Nicolas Ferre <[email protected]>
---
--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -30,7 +30,7 @@
#define ATMEL_LCDC_CVAL_DEFAULT 0xc8
#define ATMEL_LCDC_DMA_BURST_LEN 8
-#if defined(CONFIG_ARCH_AT91SAM9263)
+#if defined(CONFIG_ARCH_AT91SAM9263) || defined(CONFIG_ARCH_AT91SAM9RL)
#define ATMEL_LCDC_FIFO_SIZE 2048
#else
#define ATMEL_LCDC_FIFO_SIZE 512
On Mon, 10 Mar 2008 17:36:42 +0100
Nicolas Ferre <[email protected]> wrote:
> -#if defined(CONFIG_ARCH_AT91SAM9263)
> +#if defined(CONFIG_ARCH_AT91SAM9263) || defined(CONFIG_ARCH_AT91SAM9RL)
> #define ATMEL_LCDC_FIFO_SIZE 2048
> #else
> #define ATMEL_LCDC_FIFO_SIZE 512
Hmm. Perhaps it's time to consider moving this parameter to
platform_data?
Haavard