All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org
Cc: Yusuke Goda <yusuke.goda.sx@renesas.com>,
	Magnus Damm <magnus.damm@gmail.com>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Chris Ball <cjb@laptop.org>, Paul Mundt <lethal@linux-sh.org>,
	Simon Horman <horms@verge.net.au>
Subject: [PATCH 2/2] [hack] sh: disable initialisation of SDRAM
Date: Fri, 26 Nov 2010 23:05:57 +0000	[thread overview]
Message-ID: <1290812757-20571-3-git-send-email-horms@verge.net.au> (raw)
In-Reply-To: <1290812757-20571-1-git-send-email-horms@verge.net.au>

This disables SDRAM initialisation in very early boot
to allow a zImage to be booted from uboot.

This change applies on top of "ARM: mach-shmobile: Add zboot support for
SuperH Mobile ARM".

Signed-off-by: Simon Horman <horms@verge.net.au>

Index: linux-2.6/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt
=================================--- linux-2.6.orig/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt	2010-11-27 07:17:38.000000000 +0900
+++ linux-2.6/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt	2010-11-27 07:18:01.000000000 +0900
@@ -40,6 +40,7 @@ WAIT 1, 0xFE40009C
 LIST "BSC"
 ED 0xFEC10000, 0x00E0001B

+#if 0
 LIST "SBSC1"
 ED 0xFE400354, 0x01AD8000
 ED 0xFE400354, 0x01AD8001
@@ -77,6 +78,7 @@ ED 0xFE400028, 0xA55A0032
 ED 0xFE40002C, 0xA55A000C
 ED 0xFE400020, 0xA55A2048
 ED 0xFE400008, 0xBCC90959
+#endif

 LIST "Change CPGA setting"
 ED 0xE61500E0, 0x9E40352E
---
 .../arm/mach-shmobile/include/mach/head-ap4evb.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt b/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt
index e3ebfa7..1e06943 100644
--- a/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt
+++ b/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt
@@ -40,6 +40,7 @@ WAIT 1, 0xFE40009C
 LIST "BSC"
 ED 0xFEC10000, 0x00E0001B
 
+#if 0
 LIST "SBSC1"
 ED 0xFE400354, 0x01AD8000
 ED 0xFE400354, 0x01AD8001
@@ -77,6 +78,7 @@ ED 0xFE400028, 0xA55A0032
 ED 0xFE40002C, 0xA55A000C
 ED 0xFE400020, 0xA55A2048
 ED 0xFE400008, 0xBCC90959
+#endif
 
 LIST "Change CPGA setting"
 ED 0xE61500E0, 0x9E40352E
-- 
1.7.2.3


WARNING: multiple messages have this Message-ID (diff)
From: Simon Horman <horms@verge.net.au>
To: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org
Cc: Yusuke Goda <yusuke.goda.sx@renesas.com>,
	Magnus Damm <magnus.damm@gmail.com>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	Chris Ball <cjb@laptop.org>, Paul Mundt <lethal@linux-sh.org>,
	Simon Horman <horms@verge.net.au>
Subject: [PATCH 2/2] [hack] sh: disable initialisation of SDRAM
Date: Sat, 27 Nov 2010 08:05:57 +0900	[thread overview]
Message-ID: <1290812757-20571-3-git-send-email-horms@verge.net.au> (raw)
In-Reply-To: <1290812757-20571-1-git-send-email-horms@verge.net.au>

This disables SDRAM initialisation in very early boot
to allow a zImage to be booted from uboot.

This change applies on top of "ARM: mach-shmobile: Add zboot support for
SuperH Mobile ARM".

Signed-off-by: Simon Horman <horms@verge.net.au>

Index: linux-2.6/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt
===================================================================
--- linux-2.6.orig/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt	2010-11-27 07:17:38.000000000 +0900
+++ linux-2.6/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt	2010-11-27 07:18:01.000000000 +0900
@@ -40,6 +40,7 @@ WAIT 1, 0xFE40009C
 LIST "BSC"
 ED 0xFEC10000, 0x00E0001B

+#if 0
 LIST "SBSC1"
 ED 0xFE400354, 0x01AD8000
 ED 0xFE400354, 0x01AD8001
@@ -77,6 +78,7 @@ ED 0xFE400028, 0xA55A0032
 ED 0xFE40002C, 0xA55A000C
 ED 0xFE400020, 0xA55A2048
 ED 0xFE400008, 0xBCC90959
+#endif

 LIST "Change CPGA setting"
 ED 0xE61500E0, 0x9E40352E
---
 .../arm/mach-shmobile/include/mach/head-ap4evb.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt b/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt
index e3ebfa7..1e06943 100644
--- a/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt
+++ b/arch/arm/mach-shmobile/include/mach/head-ap4evb.txt
@@ -40,6 +40,7 @@ WAIT 1, 0xFE40009C
 LIST "BSC"
 ED 0xFEC10000, 0x00E0001B
 
+#if 0
 LIST "SBSC1"
 ED 0xFE400354, 0x01AD8000
 ED 0xFE400354, 0x01AD8001
@@ -77,6 +78,7 @@ ED 0xFE400028, 0xA55A0032
 ED 0xFE40002C, 0xA55A000C
 ED 0xFE400020, 0xA55A2048
 ED 0xFE400008, 0xBCC90959
+#endif
 
 LIST "Change CPGA setting"
 ED 0xE61500E0, 0x9E40352E
-- 
1.7.2.3


  parent reply	other threads:[~2010-11-26 23:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-26 23:05 [PATCH 0/2] [rfc] mmc, sh: Read MMCIF during zboot Simon Horman
2010-11-26 23:05 ` Simon Horman
2010-11-26 23:05 ` [PATCH 1/2] " Simon Horman
2010-11-26 23:05   ` Simon Horman
2010-11-30  5:11   ` Magnus Damm
2010-11-30  5:11     ` Magnus Damm
2010-11-30  7:18     ` Simon Horman
2010-11-30  7:18       ` Simon Horman
2010-11-26 23:05 ` Simon Horman [this message]
2010-11-26 23:05   ` [PATCH 2/2] [hack] sh: disable initialisation of SDRAM Simon Horman

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=1290812757-20571-3-git-send-email-horms@verge.net.au \
    --to=horms@verge.net.au \
    --cc=cjb@laptop.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=lethal@linux-sh.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=yusuke.goda.sx@renesas.com \
    /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.