mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Create and use C API for ubiformat
@ 2016-04-25 11:30 Sascha Hauer
  2016-04-25 11:30 ` [PATCH 1/5] commands: ubiformat: Pass around context data Sascha Hauer
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Sascha Hauer @ 2016-04-25 11:30 UTC (permalink / raw)
  To: Barebox List

The USB fastboot gadget can call ubiformat when necessary. This is done
by executing the "ubiformat" command. This is not so nice since with
this the fastboot gadget needs command support enabled. This series
gets rid of this dependency by creating a C API for ubiformat.

Sascha

----------------------------------------------------------------
Sascha Hauer (5):
      commands: ubiformat: Pass around context data
      commands: ubiformat: create separate function for ubiformat
      commands: ubiformat: move code to common/
      usb: fastboot: Use C API for ubiformat
      usb: fastboot: drop CONFIG_COMMAND_SUPPORT dependency

 commands/Kconfig                |   4 +-
 commands/ubiformat.c            | 686 +++-------------------------------------
 common/Kconfig                  |   7 +
 common/Makefile                 |   1 +
 common/ubiformat.c              | 675 +++++++++++++++++++++++++++++++++++++++
 drivers/usb/gadget/Kconfig      |   1 +
 drivers/usb/gadget/f_fastboot.c |  18 +-
 7 files changed, 735 insertions(+), 657 deletions(-)
 create mode 100644 common/ubiformat.c

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-04-25 11:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-25 11:30 Create and use C API for ubiformat Sascha Hauer
2016-04-25 11:30 ` [PATCH 1/5] commands: ubiformat: Pass around context data Sascha Hauer
2016-04-25 11:30 ` [PATCH 2/5] commands: ubiformat: create separate function for ubiformat Sascha Hauer
2016-04-25 11:30 ` [PATCH 3/5] commands: ubiformat: move code to common/ Sascha Hauer
2016-04-25 11:30 ` [PATCH 4/5] usb: fastboot: Use C API for ubiformat Sascha Hauer
2016-04-25 11:30 ` [PATCH 5/5] usb: fastboot: drop CONFIG_COMMAND_SUPPORT dependency Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox