diff options
author | wdenk | 2003-07-24 23:38:38 +0000 |
---|---|---|
committer | wdenk | 2003-07-24 23:38:38 +0000 |
commit | 27b207fd0a0941b03f27e2a82c0468b1a090c745 (patch) | |
tree | 4d339d7a2a00889f09a876425ce430be57de56e9 /cpu/mips | |
parent | 2535d60277cc295adf75cd5721dcecd840c69a63 (diff) |
* Implement new mechanism to export U-Boot's functions to standalone
applications: instead of using (PPC-specific) system calls we now
use a jump table; please see doc/README.standalone for details
* Patch by Dave Westwood, 24 Jul 2003:
added support for Unity OS (a proprietary OS)
Diffstat (limited to 'cpu/mips')
-rw-r--r-- | cpu/mips/start.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpu/mips/start.S b/cpu/mips/start.S index 12129deed17..59c6acf91de 100644 --- a/cpu/mips/start.S +++ b/cpu/mips/start.S @@ -291,6 +291,11 @@ reset: relocate_code: move sp, a0 /* Set new stack pointer */ + li t0, CFG_MONITOR_BASE + la t3, in_ram + lw t2, -12(t3) /* t2 <-- uboot_end_data */ + move t1, a2 + /* * Fix GOT pointer: * @@ -301,11 +306,6 @@ relocate_code: add gp, a2 /* gp now adjusted */ sub t6, gp, t6 /* t6 <-- relocation offset */ - li t0, CFG_MONITOR_BASE - la t3, in_ram - lw t2, -12(t3) /* t2 <-- uboot_end_data */ - move t1, a2 - /* * t0 = source address * t1 = target address |