diff options
Diffstat (limited to 'lib_ppc/board.c')
-rw-r--r-- | lib_ppc/board.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 2541a54e3aa..0b4147f42b0 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -161,6 +161,11 @@ static void syscalls_init (void) *addr++ |= NR_SYSCALLS & 0xFFFF; flush_cache (0x0C00, 0x10); + + /* Initialize syscalls stack pointer */ + addr = (ulong *) 0xCFC; + *addr = (ulong)addr; + flush_cache ((ulong)addr, 0x10); } /* |