commit | dec4ecb77ad85c50c36ab1140b1e59ae2254009e | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Wed Jul 19 16:39:25 2017 +0200 |
committer | Marek Vasut <marex@denx.de> | Fri Jul 28 23:34:40 2017 +0200 |
tree | 0ad3819c55cac30b047d4214e199cd7227232f62 | |
parent | 35be83e91d8ceae999b8b0a4e9313410ce983712 [diff] |
dfu: add common function to initiate transaction - factorize code between read and write transaction - always use dfu_transaction_cleanup() to initialize the internal variable: easy maintenance - replace direct access by dfu_get_buf() and dfu_get_buf_size() Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>