diff options
author | Wolfgang Denk <wd@denx.de> | 2008-03-26 00:44:52 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-26 00:44:52 +0100 |
commit | 6525489323e5ab88cda947b4bc5a228ee624a75c (patch) | |
tree | e45dfb8d991928b9dad0e663f6d8a399bbe59d4e /board/purple | |
parent | 08e94432300e48624de6f9533412836cf852abae (diff) | |
parent | 8a773983957ee6c4aa344469b742f29c7d26afbd (diff) |
Merge branch 'master' of git://www.denx.de/git/u-boot-mips
Diffstat (limited to 'board/purple')
-rw-r--r-- | board/purple/purple.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/purple/purple.c b/board/purple/purple.c index 74718afb48..13a14556ba 100644 --- a/board/purple/purple.c +++ b/board/purple/purple.c @@ -29,6 +29,7 @@ #include <asm/io.h> #include <asm/addrspace.h> #include <asm/cacheops.h> +#include <asm/reboot.h> #include "sconsole.h" @@ -52,6 +53,13 @@ extern int asc_serial_getc (void); extern int asc_serial_tstc (void); extern void asc_serial_setbrg (void); +void _machine_restart(void) +{ + void (*f)(void) = (void *) 0xbfc00000; + + f(); +} + static void sdram_timing_init (ulong size) { register uint pass; |