summaryrefslogtreecommitdiffstats
path: root/board/tb0229
diff options
context:
space:
mode:
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2008-03-25 21:30:07 +0900
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2008-03-25 21:30:07 +0900
commitb0c66af53ec9385ac2d1cc2e5d7d1ecdc81caf34 (patch)
treeed0880f3e56382fa40111c83587ec1b830d42939 /board/tb0229
parentdecaba6f5cf386d569ac3997bebb871b966c6b18 (diff)
downloadu-boot-b0c66af53ec9385ac2d1cc2e5d7d1ecdc81caf34.tar.gz
u-boot-b0c66af53ec9385ac2d1cc2e5d7d1ecdc81caf34.tar.xz
u-boot-b0c66af53ec9385ac2d1cc2e5d7d1ecdc81caf34.zip
[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.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/board/tb0229/tb0229.c b/board/tb0229/tb0229.c
index 61c2e9bd36..d08b422451 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;