[PATCH 00/10] new partitioning helper

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue Feb 25 17:51:11 EST 2014


Hello,

this is a follow up on my patch series "Introduce devfs_append_partition
and a few users" implementing the (a bit cryptic) suggestion by
Jean-Christophe PLAGNIOL-VILLARD to use an array of structs to specify
the partitions to be created.

It makes creating partitions use more lines of code, but in return the
new call is better understandable without checking its prototype and it
supports creating partitions that start directly at the end of the
previous one without the need to explicitly calculate its offset.

This also includes a few fixes and cleanups.

Best regards
Uwe

Uwe Kleine-König (10):
  devfs: partitioning: add missing free in error path
  devfs_add_partition: make flags parameter unsigned
  Documentation: fix example call to devfs_add_partition
  mtd/nand: constify filename parameter
  devfs: partitioning: add new helper devfs_create_partitions
  ARM: a9m2410: convert to devfs_create_partitions
  ARM: freescale-mx35-3-stack: convert to devfs_create_partitions
  ARM: pca100: convert to devfs_create_partitions
  ARM: pcm038: convert to devfs_create_partitions
  ARM: sama5d3xek: convert to devfs_create_partitions

 Documentation/porting.txt                       |  2 +-
 arch/arm/boards/a9m2410/a9m2410.c               | 23 ++++--
 arch/arm/boards/freescale-mx35-3-stack/3stack.c | 36 +++++++--
 arch/arm/boards/pcm038/pcm038.c                 | 41 ++++++++---
 arch/arm/boards/phycard-i.MX27/pca100.c         | 23 ++++--
 arch/arm/boards/sama5d3xek/init.c               | 38 ++++++++--
 drivers/mtd/nand/nand-bb.c                      |  2 +-
 fs/devfs-core.c                                 | 97 +++++++++++++++++++++----
 include/driver.h                                | 41 ++++++++++-
 include/nand.h                                  |  4 +-
 10 files changed, 246 insertions(+), 61 deletions(-)

-- 
1.8.5.3




More information about the barebox mailing list