summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/bootstrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/bootstrap.c')
-rw-r--r--arch/arm/mach-at91/bootstrap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/bootstrap.c b/arch/arm/mach-at91/bootstrap.c
index 2d18dd6b32..1baf7323fe 100644
--- a/arch/arm/mach-at91/bootstrap.c
+++ b/arch/arm/mach-at91/bootstrap.c
@@ -9,6 +9,7 @@
#include <mach/bootstrap.h>
#include <linux/sizes.h>
#include <malloc.h>
+#include <restart.h>
#include <init.h>
#include <menu.h>
@@ -145,7 +146,7 @@ static void boot_mmc_disk_action(struct menu *m, struct menu_entry *me)
static void boot_reset_action(struct menu *m, struct menu_entry *me)
{
- reset_cpu(0);
+ restart_machine();
}
void at91_bootstrap_menu(void)