mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 5/6] ARM OMAP3 boards: Call omap3_core_init only from SRAM
Date: Thu,  1 Nov 2012 08:55:47 +0100	[thread overview]
Message-ID: <1351756548-24640-6-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1351756548-24640-1-git-send-email-s.hauer@pengutronix.de>

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/boards/beagle/board.c          |    3 ++-
 arch/arm/boards/omap343xdsp/board.c     |    3 ++-
 arch/arm/boards/phycard-a-l1/pca-a-l1.c |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boards/beagle/board.c b/arch/arm/boards/beagle/board.c
index 19bf740..ec26528 100644
--- a/arch/arm/boards/beagle/board.c
+++ b/arch/arm/boards/beagle/board.c
@@ -220,7 +220,8 @@ static int beagle_board_init(void)
 {
 	int in_sdram = running_in_sdram();
 
-	omap3_core_init();
+	if (!in_sdram)
+		omap3_core_init();
 
 	mux_config();
 	/* Dont reconfigure SDRAM while running in SDRAM! */
diff --git a/arch/arm/boards/omap343xdsp/board.c b/arch/arm/boards/omap343xdsp/board.c
index 2343dc0..692cf9a 100644
--- a/arch/arm/boards/omap343xdsp/board.c
+++ b/arch/arm/boards/omap343xdsp/board.c
@@ -76,7 +76,8 @@ static int sdp343x_board_init(void)
 {
 	int in_sdram = running_in_sdram();
 
-	omap3_core_init();
+	if (!in_sdram)
+		omap3_core_init();
 
 	mux_config();
 	if (!in_sdram)
diff --git a/arch/arm/boards/phycard-a-l1/pca-a-l1.c b/arch/arm/boards/phycard-a-l1/pca-a-l1.c
index f2d10f2..6652242 100644
--- a/arch/arm/boards/phycard-a-l1/pca-a-l1.c
+++ b/arch/arm/boards/phycard-a-l1/pca-a-l1.c
@@ -297,7 +297,8 @@ static int pcaal1_board_init(void)
 {
 	int in_sdram = running_in_sdram();
 
-	omap3_core_init();
+	if (!in_sdram)
+		omap3_core_init();
 
 	pcaal1_mux_config();
 	/* Dont reconfigure SDRAM while running in SDRAM! */
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2012-11-01  7:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-01  7:55 [PATCH] panda and beagle update Sascha Hauer
2012-11-01  7:55 ` [PATCH 1/6] ARM OMAP4: Turn puts into debug Sascha Hauer
2012-11-01  7:55 ` [PATCH 2/6] ARM OMAP4 panda: switch to new environment Sascha Hauer
2012-11-01  7:55 ` [PATCH 3/6] ARM OMAP4 panda xload: Enable MMU and Thumb2 support Sascha Hauer
2012-11-01  7:55 ` [PATCH 4/6] ARM OMAP3 beagle: switch to new environment Sascha Hauer
2012-11-01  7:55 ` Sascha Hauer [this message]
2012-11-01  7:55 ` [PATCH 6/6] ARM OMAP3: Put reset() into its own section Sascha Hauer

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=1351756548-24640-6-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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