usbgadget: fastboot: Allow to automatically export the bbu handlers
We have a list of registered handlers which take a barebox update. Do
the next step and allow to automatically export them via fastboot so
that barebox can be updated via fastboot without manually exporting
the partition. Since this may not be desirable in all cases this
behaviour is configurable.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 02ade8d commit 470ac4a7ba37dc1c09f2d59ba0f7bf7519d45d92
@Sascha Hauer Sascha Hauer authored on 27 Sep 2017
Showing 3 changed files
View
drivers/usb/gadget/f_fastboot.c
View
drivers/usb/gadget/multi.c
View
include/usb/fastboot.h