public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [Patch 2/2] update EB+CPU9K2 board
@ 2011-02-04 10:08 esw at bus-elektronik.de
  0 siblings, 0 replies; only message in thread
From: esw at bus-elektronik.de @ 2011-02-04 10:08 UTC (permalink / raw)
  To: u-boot

* eb_cpux9k2: fix chip select initialization for frame buffer
  (increase speed)

Signed-off-by: Jens Scharsig <esw@bus-elektronik.de>

---
 board/BuS/eb_cpux9k2/cpux9k2.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/board/BuS/eb_cpux9k2/cpux9k2.c b/board/BuS/eb_cpux9k2/cpux9k2.c
index fe62a0f..d6acbbc 100644
--- a/board/BuS/eb_cpux9k2/cpux9k2.c
+++ b/board/BuS/eb_cpux9k2/cpux9k2.c
@@ -264,11 +264,12 @@ int drv_video_init(void)
 		display_height = 256;
 	printf("%ld x %ld pixel matrix\n", display_width, display_height);

-	/* RWH = 7 | RWS =7  | TDF = 15 | NWS = 0x7F */
-	csr =	AT91_SMC_CSR_RWHOLD(7) | AT91_SMC_CSR_RWSETUP(7) |
-		AT91_SMC_CSR_TDF(15) | AT91_SMC_CSR_NWS(127) |
+	/* RWH = 2 | RWS =2  | TDF = 4 | NWS = 0x6 */
+	csr =	AT91_SMC_CSR_RWHOLD(2) | AT91_SMC_CSR_RWSETUP(2) |
+		AT91_SMC_CSR_TDF(4) | AT91_SMC_CSR_NWS(6) |
 		AT91_SMC_CSR_ACSS_STANDARD | AT91_SMC_CSR_DBW_16 |
 		AT91_SMC_CSR_BAT_16 | AT91_SMC_CSR_WSEN;
+
 	writel(csr, &mc->smc.csr[2]);
 	writel(1 << AT91_ID_PIOB, &pmc->pcer);

-- 
1.6.6.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-04 10:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 10:08 [U-Boot] [Patch 2/2] update EB+CPU9K2 board esw at bus-elektronik.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox