diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2010-05-28 02:56:50 (GMT) |
---|---|---|
committer | Scott McNutt <smcnutt@psyent.com> | 2010-05-28 14:56:04 (GMT) |
commit | 1117cbf2adac59050af1751af6c6a524afa5c3ef (patch) | |
tree | a53832c1bcea3180e6830e8b3f9cb41adeed2d44 /examples/standalone | |
parent | 6803336c9f21ba428f5c1b1cf825bbbac0a762e5 (diff) | |
download | u-boot-1117cbf2adac59050af1751af6c6a524afa5c3ef.tar.xz |
nios: remove nios-32 arch
The nios-32 arch is obsolete and broken. So it is removed.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'examples/standalone')
-rw-r--r-- | examples/standalone/stubs.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/examples/standalone/stubs.c b/examples/standalone/stubs.c index 0187708..f3e1ab5 100644 --- a/examples/standalone/stubs.c +++ b/examples/standalone/stubs.c @@ -65,23 +65,6 @@ gd_t *global_data; " lw $25, %1($25)\n" \ " jr $25\n" \ : : "i"(offsetof(gd_t, jt)), "i"(XF_ ## x * sizeof(void *)) : "t9"); -#elif defined(CONFIG_NIOS) -/* - * %g7 holds the pointer to the global_data. %g0 is call clobbered. - */ -#define EXPORT_FUNC(x) \ - asm volatile ( \ -" .globl " #x "\n" \ -#x ":\n" \ -" pfx %%hi(%0)\n" \ -" movi %%g0, %%lo(%0)\n" \ -" add %%g0, %%g7\n" \ -" ld %%g0, [%%g0]\n" \ -" pfx %1\n" \ -" ld %%g0, [%%g0]\n" \ -" jmp %%g0\n" \ -" nop \n" \ - : : "i"(offsetof(gd_t, jt)), "i"(XF_ ## x) : "r0"); #elif defined(CONFIG_NIOS2) /* * gp holds the pointer to the global_data, r8 is call-clobbered |