[U-Boot] [PATCH] sh: Update lowlevel_init.S of espt-giga

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Fri Oct 30 02:31:22 CET 2009


There was the point that did not use write macro.
Change to write macro.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
 board/espt/lowlevel_init.S |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/board/espt/lowlevel_init.S b/board/espt/lowlevel_init.S
index 7d5d72e..7f0686c 100644
--- a/board/espt/lowlevel_init.S
+++ b/board/espt/lowlevel_init.S
@@ -72,15 +72,7 @@ lowlevel_init:
 	/* set DDR-SDRAM dummy read */
 	write32 MMSEL_A, MMSEL_D

-	mov.l	MMSEL_A, r0
-	synco
-	mov.l	@r0, r1
-	synco
-
-	mov.l	CS0_A, r0
-	synco
-	mov.l	@r0, r1
-	synco
+	write32 MMSEL_A, CS0_A

 	/* set DDR-SDRAM bus/endian etc */
 	write32 MIM_U_A, MIM_U_D
-- 
1.6.4.3


More information about the U-Boot mailing list