summaryrefslogtreecommitdiff
path: root/arch/nios2/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-09-07 22:19:49 +0200
committerWolfgang Denk <wd@denx.de>2010-09-07 22:19:49 +0200
commitf91506e28387fece392b5dd3bb3aa309e4ce7e4d (patch)
tree3e46227d94b7b379341fba534df5aa3dd3948f68 /arch/nios2/include
parent5549d22b656550d36b2cc46743c7220ab0e9dcc4 (diff)
parent2df0e6fc6b71448e1752e4ce1d5577d8977f3e5e (diff)
Merge branch 'master' of /home/wd/git/u-boot/master
Diffstat (limited to 'arch/nios2/include')
-rw-r--r--arch/nios2/include/asm/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/system.h b/arch/nios2/include/asm/system.h
index bb03ca5316..086d92bb0c 100644
--- a/arch/nios2/include/asm/system.h
+++ b/arch/nios2/include/asm/system.h
@@ -56,4 +56,9 @@
((flags & NIOS2_STATUS_PIE_MSK) == 0x0); \
})
+/* indirect call to go beyond 256MB limitation of toolchain */
+#define nios2_callr(addr) __asm__ __volatile__ ( \
+ "callr %0" \
+ : : "r" (addr))
+
#endif /* __ASM_NIOS2_SYSTEM_H */