Skip to contentSkip to conversation

atmel_lcdfb: adjust fifo size for at91sam9rl

PATCH In review Nicolas Ferre 2 participants 2 messages Mar 10, 2008 – Mar 13, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atmel_lcdfb: adjust fifo size for at91sam9rl

AT91SAM9RL soc has a 2048 bytes deep FIFO, like AT91SAM9263.

---

drivers/video/atmel_lcdfb.c +0 -0
@@ -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

#1 lore raw

Review

Quoted 5 lines · On Mon, 10 Mar 2008 17:36:42 +0100 Nicolas Ferre <[email protected]>…
(quoted diff) +1 -1
-#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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/