summaryrefslogtreecommitdiffstats
path: root/board/tb0229/tb0229.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/tb0229/tb0229.c')
-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;
OpenPOWER on IntegriCloud