summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/delay.S
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-10-03 22:06:14 -0700
committerColin Cross <ccross@android.com>2010-10-06 16:26:56 -0700
commit3d2352d98f639d388d5c97a362211bf6a09c7743 (patch)
tree0ad8243faedcdc9a4e9f01559cf97e09d9029ffa /arch/arm/mach-tegra/delay.S
parent76f3a19c08955e1eef766c3b52f4166fe357457a (diff)
[ARM] tegra: delay: Use immediates instead of literals
Change-Id: I4629398863062e3f80303c84d0fd3b7a4ed6e708 Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/delay.S')
-rw-r--r--arch/arm/mach-tegra/delay.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/delay.S b/arch/arm/mach-tegra/delay.S
index 01123bfe6a0c..c345c056bb1d 100644
--- a/arch/arm/mach-tegra/delay.S
+++ b/arch/arm/mach-tegra/delay.S
@@ -21,12 +21,13 @@
#include <asm/assembler.h>
#include <mach/iomap.h>
#include <mach/io.h>
+#include "power-macros.S"
.text
ENTRY(__udelay)
ENTRY(__const_udelay)
- ldr r3, =(IO_PPSB_VIRT + TEGRA_TMRUS_BASE - IO_PPSB_PHYS)
+ mov32 r3, (IO_PPSB_VIRT + TEGRA_TMRUS_BASE - IO_PPSB_PHYS)
ldr r1, [r3]
/* r0 - usecs to wait