diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2012-07-06 08:53:02 +0900 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-10-03 02:04:23 +0200 |
commit | c7ee8a508b5710b8c2af6db13f2401afee56c588 (patch) | |
tree | 58179eb54a67d342c1e16a4ef7c5cbb74c45c6fd /arch/arm/cpu/armv7/rmobile/lowlevel_init.S | |
parent | 4306abda0076d10b2d2b37227b5549df64289733 (diff) | |
download | u-boot-imx-c7ee8a508b5710b8c2af6db13f2401afee56c588.zip u-boot-imx-c7ee8a508b5710b8c2af6db13f2401afee56c588.tar.gz u-boot-imx-c7ee8a508b5710b8c2af6db13f2401afee56c588.tar.bz2 |
arm: rmobile: Support build with gcc-4.6 or later
Latest rmobile code was tested by using old gcc (gcc-4.4).
When we use gcc-4.6 (or later), the build is made, but does not work.
This solves a problem not to work by add -march=armv5 to compiple option
when we built in gcc-4.6 (or later).
I tested by linaro's compiler version 2012.04-20120426.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/arm/cpu/armv7/rmobile/lowlevel_init.S')
-rw-r--r-- | arch/arm/cpu/armv7/rmobile/lowlevel_init.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/rmobile/lowlevel_init.S b/arch/arm/cpu/armv7/rmobile/lowlevel_init.S index 2cd410b..8c3fc11 100644 --- a/arch/arm/cpu/armv7/rmobile/lowlevel_init.S +++ b/arch/arm/cpu/armv7/rmobile/lowlevel_init.S @@ -49,7 +49,7 @@ wait_interrupt: str r2, [r1] wait_loop: - wfi + .long 0xE320F003 /* wfi */ ldr r2, [r1, #0xC] str r2, [r1, #0x10] |