aboutsummaryrefslogtreecommitdiff
path: root/board/BuS
diff options
context:
space:
mode:
authorJens Scharsig2012-04-29 04:15:15 +0000
committerAndreas Bießmann2012-09-03 22:11:49 +0200
commit3bb183be7155493da81043062c24611a9df4bc2a (patch)
tree5e9db652f84e04e1a5400cbb9a3a104abe719698 /board/BuS
parenta9f1a4893364ddbb8b7942cded91d4c17c4f5948 (diff)
eb_cpux9k2: fix chip select
* fix chip select initialization for frame buffer, this will be increase frame buffer access speed Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'board/BuS')
-rw-r--r--board/BuS/eb_cpux9k2/cpux9k2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/BuS/eb_cpux9k2/cpux9k2.c b/board/BuS/eb_cpux9k2/cpux9k2.c
index 776226fcb3b..e98244b5ed5 100644
--- a/board/BuS/eb_cpux9k2/cpux9k2.c
+++ b/board/BuS/eb_cpux9k2/cpux9k2.c
@@ -267,9 +267,9 @@ 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]);