summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-15 04:38:33 -0600
committerTom Rini <trini@ti.com>2014-10-27 11:04:01 -0400
commit19ea4678ca5ce4c3a626039ed7642d4e0fbfdee1 (patch)
tree53e1cb6aee24f9b406766be6e32d3f56e9b6e4e0 /include/common.h
parentaac618a32b89a3b753625cfa87aab815efd6f601 (diff)
downloadu-boot-imx-19ea4678ca5ce4c3a626039ed7642d4e0fbfdee1.zip
u-boot-imx-19ea4678ca5ce4c3a626039ed7642d4e0fbfdee1.tar.gz
u-boot-imx-19ea4678ca5ce4c3a626039ed7642d4e0fbfdee1.tar.bz2
Use uint64_t for time types
Unfortunately 'unsigned long long' and 'uint64_t' are not necessarily compatible on 64-bit machines. Use the correct typedef instead of writing the supposed type out in full. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index 1082c09..6213511 100644
--- a/include/common.h
+++ b/include/common.h
@@ -766,7 +766,7 @@ void invalidate_dcache_all(void);
void invalidate_icache_all(void);
/* arch/$(ARCH)/lib/ticks.S */
-unsigned long long get_ticks(void);
+uint64_t get_ticks(void);
void wait_ticks (unsigned long);
/* arch/$(ARCH)/lib/time.c */