Everyone:
This is a follow up to discussion [1]. Hopefull all of the patches are
self-explanatory enough.
Feedback is welcome!
Changes since [v1]:
- Move handler lookup out of barebox_update() in order to avoid
making calls to bbu_handler_by_*() twice
Thanks,
Andrey Smirnov
[v1] http://lists.infradead.org/pipermail/barebox/2018-September/034865.html
[1] http://lists.infradead.org/pipermail/barebox/2018-August/034573.html
Andrey Smirnov (4):
bbu: Expose bbu_find_handler_by_*() functions
bbu: Add "handler" parameter to barebox_update()
bbu: command: Make sure specified update handler exists
bbu: Simplify bbu_find_handler_by_device()
commands/barebox-update.c | 41 +++++++++++++++++++++++++---
common/bbu.c | 47 +++++++--------------------------
drivers/usb/gadget/f_fastboot.c | 6 +++--
include/bbu.h | 5 ++--
4 files changed, 55 insertions(+), 44 deletions(-)
--
2.17.1
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox