thor: Add API for thor status notifications
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 25 Nov 2020 17:54:28 +0000 (18:54 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:37:12 +0000 (11:37 +0100)
commitcaee87c10910730b0b21bfae9b7fe6042a29682a
treef51ebf33132879ad65fdefbbdc15b50f732f32e2
parent7292fc30fb03dd100ef0882affbfdf1fd5444d8c
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