X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fstandalone%2Fstubs.c;h=9c7a8c00f8b222dbb0a869827d997960fdb1f1fe;hb=daab59ac05d8fd1092e34a4c695ac265ae700141;hp=a6a9fcf189a4dbf1ad5e0c3044a5a3f97cc9ef0c;hpb=747c4c68c042babb2179b52b60bc78611e3e1183;p=platform%2Fkernel%2Fu-boot.git diff --git a/examples/standalone/stubs.c b/examples/standalone/stubs.c index a6a9fcf..9c7a8c0 100644 --- a/examples/standalone/stubs.c +++ b/examples/standalone/stubs.c @@ -141,19 +141,6 @@ gd_t *global_data; " lwi r5, r5, %1\n" \ " bra r5\n" \ : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "r5"); -#elif defined(CONFIG_AVR32) -/* - * r6 holds the pointer to the global_data. r8 is call clobbered. - */ -#define EXPORT_FUNC(f, a, x, ...) \ - asm volatile( \ - " .globl\t" #x "\n" \ - #x ":\n" \ - " ld.w r8, r6[%0]\n" \ - " ld.w pc, r8[%1]\n" \ - : \ - : "i"(offsetof(gd_t, jt)), "i"(FO(x)) \ - : "r8"); #elif defined(CONFIG_SH) /* * r13 holds the pointer to the global_data. r1 is a call clobbered.