All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kyungmin Park <kmpark@infradead.org>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Fix GPMC CS2 memory setup at apollon
Date: Mon, 18 Feb 2008 14:35:43 +0900	[thread overview]
Message-ID: <20080218053543.GA28278@party> (raw)

It disables the current map first

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
diff --git a/board/apollon/mem.c b/board/apollon/mem.c
index c0edca5..0211c6a 100644
--- a/board/apollon/mem.c
+++ b/board/apollon/mem.c
@@ -198,6 +198,8 @@ void gpmc_init(void)
 	sdelay(2000);
 
 	/* setup cs2 */
+	__raw_writel(0x0, GPMC_CONFIG7_2);	/* disable current map */
+	sdelay(1000);
 	__raw_writel(APOLLON_24XX_GPMC_CONFIG1_0 | mux | mtype | mwidth,
 		     GPMC_CONFIG1_2);
 	/* It's same as cs 0 */

             reply	other threads:[~2008-02-18  5:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-18  5:35 Kyungmin Park [this message]
2008-02-22 11:14 ` [U-Boot-Users] [PATCH] Fix GPMC CS2 memory setup at apollon Wolfgang Denk
2008-02-29 23:34 ` [U-Boot-Users] [PATCH] Fix alignment error on ARM for modules Woodruff, Richard
2008-03-01  1:20   ` [U-Boot-Users] Quick OMAP2420 update for anyone interested Woodruff, Richard
2008-03-02 21:48   ` [U-Boot-Users] [PATCH] Fix alignment error on ARM for modules Wolfgang Denk

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=20080218053543.GA28278@party \
    --to=kmpark@infradead.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.