summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-03-14 11:08:12 -0400
committerTom Rini <trini@konsulko.com>2017-04-05 13:52:34 -0400
commit70cc0c34b638fbf99f0984dc53312cd8479c99a7 (patch)
treed0ef8822cc0f6e71c300795cb6be3260414d11bc /examples
parent936478e797a87bcd4e002bf70430b6f58584b155 (diff)
OpenRISC: Remove
The OpenRISC architecture is currently unmaintained, remove. Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/standalone/stubs.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/examples/standalone/stubs.c b/examples/standalone/stubs.c
index bc9ff89527..a6a9fcf189 100644
--- a/examples/standalone/stubs.c
+++ b/examples/standalone/stubs.c
@@ -185,20 +185,6 @@ gd_t *global_data;
" lwi $r16, [$r16 + (%1)]\n" \
" jr $r16\n" \
: : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "$r16");
-#elif defined(CONFIG_OPENRISC)
-/*
- * r10 holds the pointer to the global_data, r13 is a call-clobbered
- * register
- */
-#define EXPORT_FUNC(f, a, x, ...) \
- asm volatile ( \
-" .globl " #x "\n" \
-#x ":\n" \
-" l.lwz r13, %0(r10)\n" \
-" l.lwz r13, %1(r13)\n" \
-" l.jr r13\n" \
-" l.nop\n" \
- : : "i"(offsetof(gd_t, jt)), "i"(FO(x)) : "r13");
#elif defined(CONFIG_ARC)
/*
* r25 holds the pointer to the global_data. r10 is call clobbered.