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
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:34:37 -0800
commite5042f45b5bbe43afa99cc68569a8e3ea2baa125 (patch)
tree1e5dd6e4632289774bbc2761f8091e411ace81a2 /arch/arm/mach-tegra/delay.S
parent1ae52cd40073f35c17452abc128b29dbee8bf75c (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