From: Jens Scharsig <esw@bus-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] eb_cpux9k2: fix chip select
Date: Mon, 3 Sep 2012 12:50:11 +0200 [thread overview]
Message-ID: <50448B63.6030706@bus-elektronik.de> (raw)
In-Reply-To: <1335708915-20338-1-git-send-email-js_at_ng@scharsoft.de>
Dear Andreas Bie?mann,
Please could you apply this open patch.
I've just tested this against the current atmel and master tree.
It works.
best regards
Jens Scharsig
> * 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>
> ---
> board/BuS/eb_cpux9k2/cpux9k2.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/board/BuS/eb_cpux9k2/cpux9k2.c b/board/BuS/eb_cpux9k2/cpux9k2.c
> index 54f9b64..15a31be 100644
> --- a/board/BuS/eb_cpux9k2/cpux9k2.c
> +++ b/board/BuS/eb_cpux9k2/cpux9k2.c
> @@ -269,9 +269,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]);
>
next prev parent reply other threads:[~2012-09-03 10:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-29 14:15 [U-Boot] [PATCH] eb_cpux9k2: fix chip select Jens Scharsig
2012-09-03 10:50 ` Jens Scharsig [this message]
2012-09-03 20:38 ` Andreas Bießmann
[not found] <29377.0208525986$1335710350@news.gmane.org>
2012-04-29 18:07 ` Jens Scharsig
-- strict thread matches above, loose matches on Subject: below --
2012-04-29 13:33 y at jenslinux.site
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50448B63.6030706@bus-elektronik.de \
--to=esw@bus-elektronik.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox