summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-highbank/reset.c
blob: eb1d11542d7f494af2189975b16dc67c15aba15f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnio@jcrosoft.com>
 *
 * GPLv2 only
 */

#include <common.h>
#include <io.h>

#include <mach/devices.h>

#include "sysregs.h"

void __noreturn reset_cpu(ulong addr)
{
	hingbank_set_pwr_hard_reset();
	asm("	wfi");

	while(1);
}