thor: Add API for thor status notifications 13/249213/1
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 25 Nov 2020 17:54:28 +0000 (18:54 +0100)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 8 Dec 2020 20:46:51 +0000 (21:46 +0100)
commit198f451c657809e0b182c14374c90a5117b41e27
tree7fb7904c501d262cc534056b297b07388e32dd25
parenta209362a5d9b2c02d7562f8d3c14ea5bdbb4ec23
thor: Add API for thor status notifications

This patch adds an empty by default thor_status_notify() function which
can be reimplemented as required and which allows to add notifications
of thor status and flashing progress, e.g. on external monitor.

Change-Id: Ic1eaad7f3f5adbca404162b745a9287d5a9ae247
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
cmd/thordown.c
drivers/usb/gadget/f_thor.c
include/thor.h