Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (18 sloc) 751 Bytes
From 74bbff2dc0bcb42a8ff5d9442cbf395987e79d3e Mon Sep 17 00:00:00 2001
From: Scott Ellis <scott@jumpnowtek.com>
Date: Tue, 6 Jan 2015 05:19:27 -0500
Subject: [PATCH 6/6] omap4: do warm reset on reboot
---
sys/arm/ti/omap4/omap4_prcm_clks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git sys/arm/ti/omap4/omap4_prcm_clks.c sys/arm/ti/omap4/omap4_prcm_clks.c
index 1994a23..3000f42 100644
--- sys/arm/ti/omap4/omap4_prcm_clks.c
+++ sys/arm/ti/omap4/omap4_prcm_clks.c
@@ -1607,7 +1607,7 @@ omap4_prcm_reset(void)
reg = bus_read_4(mem_res, PRM_RSTCTRL_OFFSET);
bus_write_4(mem_res, PRM_RSTCTRL_OFFSET,
- reg | PRM_RSTCTRL_RST_GLOBAL_COLD);
+ reg | PRM_RSTCTRL_RST_GLOBAL_WARM);
bus_read_4(mem_res, PRM_RSTCTRL_OFFSET);
}