Files
OpenCellular/chip
Vincent Palatin 77b154dd71 stm32l: implement reset cause and scratchpad
Allow to get proper reset reason.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BUG=None
TEST=On the discovery board, try the reset button, the "reboot" command
and a blocking wait, and see the proper reset reason displayed.
Initialize the scratchpad register with "setscratchpad" command and
check we can read it back after reboot.

Change-Id: I1fe1eec4987f7c9816454de4fd3b4addda4ad05a
2012-02-02 19:08:49 +00:00
..
2012-02-02 05:11:25 -08:00