mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Enable reset mechanism for rk3188.
Approved by: ray@
This commit is contained in:
parent
a8e50123f0
commit
18d753d0fb
1 changed files with 4 additions and 1 deletions
|
|
@ -49,6 +49,8 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
#include <dev/fdt/fdt_common.h>
|
||||
|
||||
#include <arm/rockchip/rk30xx_wdog.h>
|
||||
|
||||
/* 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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue