mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
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>
This commit is contained in:
committed by
Marek Vasut
parent
ec44cace4b
commit
067c13c70b
@@ -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.
|
||||
|
Reference in New Issue
Block a user