aboutsummaryrefslogtreecommitdiff
path: root/examples/standalone/stubs.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-04-06 09:21:25 -0400
committerTom Rini <trini@konsulko.com>2022-04-25 16:04:05 -0400
commit11232139e399e70641410356ae6b278113d90f16 (patch)
tree9c3dd5ad6eec3fc3af2f9ac6c0e14f99122c4394 /examples/standalone/stubs.c
parent8cfac237b9814d52c843e939a05fc211ba3906de (diff)
downloadu-boot-11232139e399e70641410356ae6b278113d90f16.zip
u-boot-11232139e399e70641410356ae6b278113d90f16.tar.gz
u-boot-11232139e399e70641410356ae6b278113d90f16.tar.bz2
nds32: Remove the architectureWIP/25Apr2022
As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'examples/standalone/stubs.c')
-rw-r--r--examples/standalone/stubs.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/examples/standalone/stubs.c b/examples/standalone/stubs.c
index 5fb4604..ce05f41 100644
--- a/examples/standalone/stubs.c
+++ b/examples/standalone/stubs.c
@@ -161,19 +161,6 @@ gd_t *global_data;
" nop\n" \
" nop\n" \
: : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "r1", "r2");
-#elif defined(CONFIG_NDS32)
-/*
- * r16 holds the pointer to the global_data. gp is call clobbered.
- * not support reduced register (16 GPR).
- */
-#define EXPORT_FUNC(f, a, x, ...) \
- asm volatile ( \
-" .globl " #x "\n" \
-#x ":\n" \
-" lwi $r16, [$gp + (%0)]\n" \
-" lwi $r16, [$r16 + (%1)]\n" \
-" jr $r16\n" \
- : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "$r16");
#elif defined(CONFIG_RISCV)
/*
* gp holds the pointer to the global_data. t0 is call clobbered.