[PATCH 2/2] [hack] sh: disable initialisation of SDRAM

Simon Horman
2010-11-26T23:05:57Z

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