From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Date: Tue, 6 Mar 2012 17:41:07 -0600 Subject: [U-Boot] [RFC PATCH 0/5] add bootable partition support Message-ID: <1331077272-25215-1-git-send-email-robherring2@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Rob Herring The primary goal of this series is to enable using the 1st bootable partition as the default partition for disk boot related commands. Every command that takes a "[:]" option duplicates the same parsing code, so this series consolidates the parsing code to a single function. There are obviously other block device commands that need to be converted still. I will do these once there is some basic agreement on the initial support. Rob Rob Herring (5): disk/part: check bootable flag for DOS partitions disk/part: introduce get_device_and_partition cmd_ext2: use common get_device_and_partition function cmd_fat: use common get_device_and_partition function cmd_scsi: use common get_device_and_partition function common/cmd_ext2.c | 71 +++++++++++---------------------------------------- common/cmd_fat.c | 72 +++++++++++++++++++--------------------------------- common/cmd_scsi.c | 58 ++++++++---------------------------------- disk/part.c | 60 ++++++++++++++++++++++++++++++++++++++++++++ disk/part_dos.c | 11 ++++++- include/part.h | 5 +++ 6 files changed, 127 insertions(+), 150 deletions(-) -- 1.7.5.4