summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
authorwdenk <wdenk>2002-12-07 00:20:59 +0000
committerwdenk <wdenk>2002-12-07 00:20:59 +0000
commit7c7a23bd5a0bc149d2edd665ec46381726b24e0c (patch)
treed859f82ea2561180db2ffd7569f0b9007d710769 /lib_ppc
parent1f53a41603b9093c59741f4208fef0ab3790d6ce (diff)
downloadu-boot-imx-7c7a23bd5a0bc149d2edd665ec46381726b24e0c.zip
u-boot-imx-7c7a23bd5a0bc149d2edd665ec46381726b24e0c.tar.gz
u-boot-imx-7c7a23bd5a0bc149d2edd665ec46381726b24e0c.tar.bz2
* Patch by Hans-Joerg Frieden, 06 Dec 2002
Fix misc problems with AmigaOne support * Patch by Chris Hallinan, 3 Dec 2002: minor cleanup to the MPC8245 EPIC driver * Patch by Pierre Aubert , 28 Nov 2002 Add support for external (SIU) interrupts on MPC8xx * Patch by Pierre Aubert , 28 Nov 2002 Fix nested syscalls bug in standalone applications * Patch by David Müller, 27 Nov 2002: fix output of "pciinfo" command for CardBus bridge devices. * Fix bug in TQM8260 board detection - boards got stuck when board ID was not readable
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 2541a54..0b4147f 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);
}
/*