Blackfin: initial XIP support

Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Barry Song
2010-01-07 04:11:17 +00:00
committed by Mike Frysinger
parent aad16f3228
commit d86bfb1600
13 changed files with 160 additions and 29 deletions

View File

@@ -374,3 +374,13 @@
(R7:0, P5:0) = [SP++];
.endm
.macro pseudo_long_call func:req, scratch:req
#ifdef CONFIG_ROMKERNEL
\scratch\().l = \func;
\scratch\().h = \func;
call (\scratch);
#else
call \func;
#endif
.endm