Files
OpenCellular/common
Vincent Palatin 71c86b38c3 stm32: add flash programming support
Implements the on-chip flash erasing and writing functions.

The actual writing is done from a routine in internal RAM (using the
special .iram.text section) with interrupt disabled as we cannot read
flash during the writing process.

The write-protect feature is only lightly tested.

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

BUG=chrome-os-partner:8865
TEST=run on Daisy, from the EC console, use flasherase and flashwrite
commands and observe the results using rw command.

Change-Id: I4c64cf28b23df52b18500b42a32a7d3668d45ba6
2012-05-09 01:13:26 +00:00
..
2012-05-02 15:57:43 +00:00
2012-04-26 13:45:43 +08:00
2012-04-25 15:56:10 -07:00
2012-04-24 17:46:54 -07:00
2012-04-24 17:46:54 -07:00
2012-04-25 15:56:10 -07:00
2012-05-02 15:57:43 +00:00
2012-04-25 23:59:23 +00:00
2012-04-25 15:56:10 -07:00
2012-04-24 17:46:54 -07:00
2012-05-04 23:10:29 +00:00