diff options
author | Wolfgang Denk <wd@denx.de> | 2009-01-16 09:22:25 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-01-16 09:22:25 +0100 |
commit | 71771e501ca33b25433406ddf1a001996f9410ec (patch) | |
tree | 7514c3e754ab9ab6b269dca427f92bc1ae089e4b /board/renesas/sh7785lcr/lowlevel_init.S | |
parent | e62dea46aaf45cc3da0f1fa20d1dab00218f5ed5 (diff) | |
parent | fc83c9273cec6e6e542f4a0ea3b653b7d0513ffa (diff) | |
download | u-boot-imx-71771e501ca33b25433406ddf1a001996f9410ec.zip u-boot-imx-71771e501ca33b25433406ddf1a001996f9410ec.tar.gz u-boot-imx-71771e501ca33b25433406ddf1a001996f9410ec.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-sh
Diffstat (limited to 'board/renesas/sh7785lcr/lowlevel_init.S')
-rw-r--r-- | board/renesas/sh7785lcr/lowlevel_init.S | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/board/renesas/sh7785lcr/lowlevel_init.S b/board/renesas/sh7785lcr/lowlevel_init.S index 50e1789..f5ebeb9 100644 --- a/board/renesas/sh7785lcr/lowlevel_init.S +++ b/board/renesas/sh7785lcr/lowlevel_init.S @@ -19,33 +19,7 @@ #include <config.h> #include <version.h> #include <asm/processor.h> - -.macro write32, addr, data - mov.l \addr ,r1 - mov.l \data ,r0 - mov.l r0, @r1 -.endm - -.macro write16, addr, data - mov.l \addr ,r1 - mov.l \data ,r0 - mov.w r0, @r1 -.endm - -.macro write8, addr, data - mov.l \addr ,r1 - mov.l \data ,r0 - mov.b r0, @r1 -.endm - -.macro wait_timer, time - mov.l \time ,r3 -1: - nop - tst r3, r3 - bf/s 1b - dt r3 -.endm +#include <asm/macro.h> #include <asm/processor.h> @@ -305,7 +279,7 @@ CS4WCR_D: .long 0x00101012 CS_USB_BCR_D: .long 0x11111200 CS_USB_WCR_D: .long 0x00020004 -/* SD setting : 32bit mode = CS3, 29bit mode = CS6 */ +/* SD setting : 32bit mode = CS3, 29bit mode = CS6 */ CS_SD_BCR_D: .long 0x00000300 CS_SD_WCR_D: .long 0x00030108 |