summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm2835/core.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-01-25 20:43:52 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-25 20:43:52 +0100
commit7f955da08f2070195b4a2d46d51be78a431eb615 (patch)
tree32921935366b33934558ab36ef571ba6ff31f4d6 /arch/arm/mach-bcm2835/core.c
parent2c93912f34ce06585c4ede0298aef7225e096df2 (diff)
downloadbarebox-7f955da08f2070195b4a2d46d51be78a431eb615.tar.gz
barebox-7f955da08f2070195b4a2d46d51be78a431eb615.tar.xz
ARM bcm2835: Fix noreturn function does return
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-bcm2835/core.c')
-rw-r--r--arch/arm/mach-bcm2835/core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm2835/core.c b/arch/arm/mach-bcm2835/core.c
index b0fec8b008..f44ecd5bf3 100644
--- a/arch/arm/mach-bcm2835/core.c
+++ b/arch/arm/mach-bcm2835/core.c
@@ -97,5 +97,7 @@ void __noreturn reset_cpu (unsigned long addr)
rstc |= PM_RSTC_WRCFG_FULL_RESET;
writel(PM_PASSWORD | RESET_TIMEOUT, PM_WDOG);
writel(PM_PASSWORD | rstc, PM_RSTC);
+
+ while (1);
}
EXPORT_SYMBOL(reset_cpu);