diff options
author | Scott McNutt <smcnutt@psyent.com> | 2006-06-08 11:59:57 -0400 |
---|---|---|
committer | Scott McNutt <smcnutt@psyent.com> | 2006-06-08 11:59:57 -0400 |
commit | c2ced000f4f18361feb36ea257fabbb46913e1d4 (patch) | |
tree | 6ba42fa4c9b37b96491846e8e807f351bc5202e1 /examples/stubs.c | |
parent | e461a24113c66747510b07930a83b0d84171a559 (diff) | |
download | u-boot-c2ced000f4f18361feb36ea257fabbb46913e1d4.tar.gz u-boot-c2ced000f4f18361feb36ea257fabbb46913e1d4.tar.xz u-boot-c2ced000f4f18361feb36ea257fabbb46913e1d4.zip |
Nios II - Fix I/O Macros and mini-app stubs
-Fix asm/io.h macros
-Eliminate use of CACHE_BYPASS in cpu code
-Eliminate assembler warnings
-Fix mini-app stubs and force no small data
Patch by Scott McNutt, 08 Jun 2006
Diffstat (limited to 'examples/stubs.c')
-rw-r--r-- | examples/stubs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stubs.c b/examples/stubs.c index 250a9af6e5..1caa575747 100644 --- a/examples/stubs.c +++ b/examples/stubs.c @@ -92,7 +92,7 @@ gd_t *global_data; #x ":\n" \ " movhi r8, %%hi(%0)\n" \ " ori r8, r0, %%lo(%0)\n" \ -" add r8, r0, r15\n" \ +" add r8, r8, r15\n" \ " ldw r8, 0(r8)\n" \ " ldw r8, %1(r8)\n" \ " jmp r8\n" \ |