From patchwork Sun Apr 29 14:15:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Scharsig X-Patchwork-Id: 155739 X-Patchwork-Delegate: andreas.biessmann@googlemail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 80260B6FBC for ; Mon, 30 Apr 2012 00:17:06 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9A9B228156; Sun, 29 Apr 2012 16:17:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nAiRpt9bLiOC; Sun, 29 Apr 2012 16:17:01 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 41BFE28115; Sun, 29 Apr 2012 16:17:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 20D0528115 for ; Sun, 29 Apr 2012 16:16:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QCfG2ukkdqpK for ; Sun, 29 Apr 2012 16:16:57 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from smtp-out-089.synserver.de (smtp-out-169.synserver.de [212.40.185.169]) by theia.denx.de (Postfix) with ESMTP id 3083F28107 for ; Sun, 29 Apr 2012 16:16:55 +0200 (CEST) Received: (qmail 32319 invoked by uid 0); 29 Apr 2012 14:16:54 -0000 X-SynServer-TrustedSrc: 1 X-SynServer-AuthUser: postmaster@scharsoft.de X-SynServer-PPID: 32235 Received: from dslb-088-073-197-247.pools.arcor-ip.net (HELO jenslinux.site) [88.73.197.247] by 217.119.54.96 with AES256-SHA encrypted SMTP; 29 Apr 2012 14:16:53 -0000 Received: by jenslinux.site (Postfix, from userid 500) id 0AFEB339; Sun, 29 Apr 2012 16:15:19 +0200 (CEST) From: Jens Scharsig To: u-boot@lists.denx.de Date: Sun, 29 Apr 2012 16:15:15 +0200 Message-Id: <1335708915-20338-1-git-send-email-js_at_ng@scharsoft.de> X-Mailer: git-send-email 1.7.7 Cc: Jens Scharsig Subject: [U-Boot] [PATCH] eb_cpux9k2: fix chip select X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de * fix chip select initialization for frame buffer, this will be increase frame buffer access speed Signed-off-by: Jens Scharsig --- 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]);