diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2019-10-14 09:28:07 +0200 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2019-10-31 12:12:31 +0100 |
commit | 067c13c70bfb99d25979b989870ed39eab34659a (patch) | |
tree | ac28778dda9f3b986f8cbc227d519d9df1d9b5cd /doc | |
parent | ec44cace4b8d23556924550fe76bf2744eb91144 (diff) | |
download | u-boot-067c13c70bfb99d25979b989870ed39eab34659a.tar.gz |
dfu: add callback for flush and initiated operation
Add weak callback to allow board specific behavior
- flush
- initiated
This patch prepare usage of DFU back end for communication with
STM32CubeProgrammer on stm32mp1 platform with stm32prog command.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.dfu | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/README.dfu b/doc/README.dfu index 43a6f311d6..558d347c26 100644 --- a/doc/README.dfu +++ b/doc/README.dfu @@ -143,6 +143,14 @@ Commands: mtd <dev>=<alt1>;....;<altN> virt <dev>=<alt1>;....;<altN> +Callbacks: + The weak callback functions can be implemented to manage specific behavior + - dfu_initiated_callback : called when the DFU transaction is started, + used to initiase the device + - dfu_flush_callback : called at the end of the DFU write after DFU + manifestation, used to manage the device when + DFU transaction is closed + Host tools: When U-Boot runs the dfu stack, the DFU host tools can be used to send/receive firmwares on each configurated alternate. |