[PATCH: For next 1/2] ARM: am33xx: Add a function to retrieve the reset reason

Marc Kleine-Budde mkl at pengutronix.de
Mon Feb 9 15:07:27 PST 2015


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   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20150210/e3c46086/attachment.sig>


More information about the barebox mailing list