diff options
author | Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> | 2008-03-25 21:30:07 +0900 |
---|---|---|
committer | Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> | 2008-03-25 21:30:07 +0900 |
commit | b0c66af53ec9385ac2d1cc2e5d7d1ecdc81caf34 (patch) | |
tree | ed0880f3e56382fa40111c83587ec1b830d42939 /board/tb0229 | |
parent | decaba6f5cf386d569ac3997bebb871b966c6b18 (diff) | |
download | u-boot-imx-b0c66af53ec9385ac2d1cc2e5d7d1ecdc81caf34.zip u-boot-imx-b0c66af53ec9385ac2d1cc2e5d7d1ecdc81caf34.tar.gz u-boot-imx-b0c66af53ec9385ac2d1cc2e5d7d1ecdc81caf34.tar.bz2 |
[MIPS] Introduce _machine_restart
Handles machine specific functions by using weak functions.
Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Diffstat (limited to 'board/tb0229')
-rw-r--r-- | board/tb0229/tb0229.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/board/tb0229/tb0229.c b/board/tb0229/tb0229.c index 61c2e9b..d08b422 100644 --- a/board/tb0229/tb0229.c +++ b/board/tb0229/tb0229.c @@ -12,10 +12,17 @@ #include <common.h> #include <command.h> #include <asm/addrspace.h> -#include <asm/inca-ip.h> #include <asm/io.h> +#include <asm/reboot.h> #include <pci.h> +void _machine_restart(void) +{ + void (*f)(void) = (void *) 0xbfc00000; + + f(); +} + #if defined(CONFIG_PCI) static struct pci_controller hose; |