All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robherring2@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/9] Auto partition selection and fs partition consolidation
Date: Thu, 23 Aug 2012 16:31:41 -0500	[thread overview]
Message-ID: <1345757510-6756-1-git-send-email-robherring2@gmail.com> (raw)

From: Rob Herring <rob.herring@calxeda.com>

The primary goal of this series is to enable auto selection of a partition
using the 1st bootable partition as the default partition for disk based
boot commands. If a bootable partition is not found and partition is not
specified, then the first valid partition is used.

Every command that takes a "<dev>[:<part>]" option duplicates the same
parsing code, so this series consolidates the parsing code to a single
function and converts all block based filesystem code over to use th

This is based on Wolfgang's ext4 branch.

Rob

Rob Herring (9):
  combine block device load commands into common function
  disk/part: check bootable flag for DOS partitions
  disk/part: introduce get_device_and_partition
  ext4: remove init_fs/deinit_fs
  cmd_extX: use common get_device_and_partition function
  cmd_fat: use common get_device_and_partition function
  cmd_disk: use common get_device_and_partition function
  cmd_zfs: use common get_device_and_partition function
  cmd_reiser: use common get_device_and_partition function

 common/Makefile         |    1 +
 common/cmd_disk.c       |  122 ++++++++++++++++++++++++++++++++++++++
 common/cmd_ext4.c       |  106 +++------------------------------
 common/cmd_ext_common.c |  108 ++++++++-------------------------
 common/cmd_fat.c        |  100 +++++++++++--------------------
 common/cmd_ide.c        |  151 +----------------------------------------------
 common/cmd_reiser.c     |   81 ++++++-------------------
 common/cmd_scsi.c       |  123 +-------------------------------------
 common/cmd_usb.c        |  138 +------------------------------------------
 common/cmd_zfs.c        |   88 ++++++---------------------
 disk/part.c             |   90 +++++++++++++++++++++++++++-
 disk/part_dos.c         |   11 +++-
 fs/ext4/dev.c           |   32 ++++------
 fs/ext4/ext4_common.h   |    1 -
 fs/ext4/ext4fs.c        |   37 +-----------
 fs/reiserfs/dev.c       |   29 ++++-----
 fs/zfs/dev.c            |   35 ++++-------
 include/command.h       |    4 ++
 include/ext4fs.h        |    5 +-
 include/ext_common.h    |    2 +
 include/part.h          |   14 ++++-
 include/reiserfs.h      |    2 +-
 include/zfs_common.h    |    7 +--
 23 files changed, 380 insertions(+), 907 deletions(-)
 create mode 100644 common/cmd_disk.c

-- 
1.7.9.5

             reply	other threads:[~2012-08-23 21:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-23 21:31 Rob Herring [this message]
2012-08-23 21:31 ` [U-Boot] [PATCH 1/9] combine block device load commands into common function Rob Herring
2012-09-05 23:36   ` Tom Rini
2012-09-05 23:47     ` Rob Herring
2012-09-05 23:50       ` Tom Rini
2012-09-21 14:02   ` [U-Boot] [PATCH v2 " Rob Herring
2012-09-25 23:17     ` Tom Rini
2012-08-23 21:31 ` [U-Boot] [PATCH 2/9] disk/part: check bootable flag for DOS partitions Rob Herring
2012-08-23 21:31 ` [U-Boot] [PATCH 3/9] disk/part: introduce get_device_and_partition Rob Herring
2012-08-23 22:36   ` Stephen Warren
2012-08-24  1:57     ` Rob Herring
2012-08-24  2:51       ` Stephen Warren
2012-09-05 23:53         ` Tom Rini
2012-09-21 14:08   ` [U-Boot] [PATCH v2 " Rob Herring
2012-08-23 21:31 ` [U-Boot] [PATCH 4/9] ext4: remove init_fs/deinit_fs Rob Herring
2012-08-23 21:31 ` [U-Boot] [PATCH 5/9] cmd_extX: use common get_device_and_partition function Rob Herring
2012-08-23 21:31 ` [U-Boot] [PATCH 6/9] cmd_fat: " Rob Herring
2012-08-23 21:31 ` [U-Boot] [PATCH 7/9] cmd_disk: " Rob Herring
2012-08-23 21:31 ` [U-Boot] [PATCH 8/9] cmd_zfs: " Rob Herring
2012-08-23 21:31 ` [U-Boot] [PATCH 9/9] cmd_reiser: " Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1345757510-6756-1-git-send-email-robherring2@gmail.com \
    --to=robherring2@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.