On 02/09/2015 04:01 PM, Wadim Egorov wrote: > This patch adds a function to retrieve the last occurred reset reason > on the AM335x. Please make use of the existing rest_source framework. See reset_source.h, reset_source_set() and how the tegra code for example: 1834169f13cc tegra: pmc: add support for reset src detection regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |