From 18d753d0fbfc001ff97f9d982f6982d0f7e4b2bb Mon Sep 17 00:00:00 2001 From: Ganbold Tsagaankhuu Date: Mon, 25 Nov 2013 11:02:58 +0000 Subject: [PATCH] Enable reset mechanism for rk3188. Approved by: ray@ --- sys/arm/rockchip/rk30xx_machdep.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/arm/rockchip/rk30xx_machdep.c b/sys/arm/rockchip/rk30xx_machdep.c index daba99fb8238..31a296f85f29 100644 --- a/sys/arm/rockchip/rk30xx_machdep.c +++ b/sys/arm/rockchip/rk30xx_machdep.c @@ -49,6 +49,8 @@ __FBSDID("$FreeBSD$"); #include +#include + /* Start of address space used for bootstrap map */ #define DEVMAP_BOOTSTRAP_MAP_START 0xF0000000 @@ -122,6 +124,7 @@ void cpu_reset() { - printf("No cpu_reset implementation!\n"); + rk30_wd_watchdog_reset(); + printf("Reset failed!\n"); while (1); }