mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Add and use function API for UBI
@ 2016-09-22  7:49 Sascha Hauer
  2016-09-22  7:49 ` [PATCH 1/4] mtd: ubi: Add API calls to create/remove volumes Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sascha Hauer @ 2016-09-22  7:49 UTC (permalink / raw)
  To: Barebox List

We currently use a ioctl API to manipulate UBI devices. This is
suboptimal since we have to carry code for all ioctls with us, even
when some of it may be unused. This series expands the UBI API with
calls to add/remove volumes and uses it inside the UBI commands.
The next step would be to move the commands to separate files and
to make them Kconfig configurable individually.

Sascha

----------------------------------------------------------------
Sascha Hauer (4):
      mtd: ubi: Add API calls to create/remove volumes
      mtd: ubi: introduce barebox specific ioctl to get ubi_num
      mtd: ubi: commands: use function API to access ubi volumes
      mtd: ubi: remove now unused ioctls

 commands/ubi.c            | 40 +++++++++++++++++++++++++++++++---------
 drivers/mtd/ubi/barebox.c | 43 ++++++++++++++++++++++++++++++-------------
 include/linux/mtd/ubi.h   |  3 +++
 include/mtd/ubi-user.h    |  2 ++
 4 files changed, 66 insertions(+), 22 deletions(-)

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

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

end of thread, other threads:[~2016-09-22  7:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-22  7:49 Add and use function API for UBI Sascha Hauer
2016-09-22  7:49 ` [PATCH 1/4] mtd: ubi: Add API calls to create/remove volumes Sascha Hauer
2016-09-22  7:49 ` [PATCH 2/4] mtd: ubi: introduce barebox specific ioctl to get ubi_num Sascha Hauer
2016-09-22  7:49 ` [PATCH 3/4] mtd: ubi: commands: use function API to access ubi volumes Sascha Hauer
2016-09-22  7:49 ` [PATCH 4/4] mtd: ubi: remove now unused ioctls Sascha Hauer

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