[PATCH v3 03/15] ARM: mxs: Add reset routines
From: Uwe Kleine-König <hidden>
Date: 2010-12-08 20:31:48
Hi Lothar, On Wed, Dec 08, 2010 at 08:33:32AM +0100, Lothar Wa?mann wrote:
Hi, Shawn Guo writes:quoted
- The mxs wdog is implemented in RTC block. - There is a generic software reset routine for most modules on mxs. Signed-off-by: Shawn Guo <redacted> --- Changes for v3: - Change wdog timeout to 10ms for safety - Simplify function mxs_reset_block() to get it look better Changes for v2: - Move rtc clock enabling from arch_reset() into mxs_arch_reset_init()mxs_arch_reset_init() is currently being called from the .map_io hook in mach-mxs/mm-mx23.c and mm-mx28.c which is called before clocks are registered. But IMO this should be removed from the .map_io hook anyway (as well as mxs_iomux_init()).
I assume you want to make this an initcall? Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |