public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/9] Auto partition selection and fs partition consolidation
@ 2012-08-23 21:31 Rob Herring
  2012-08-23 21:31 ` [U-Boot] [PATCH 1/9] combine block device load commands into common function Rob Herring
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: Rob Herring @ 2012-08-23 21:31 UTC (permalink / raw)
  To: u-boot

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

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

end of thread, other threads:[~2012-09-25 23:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-23 21:31 [U-Boot] [PATCH 0/9] Auto partition selection and fs partition consolidation Rob Herring
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

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