Skip to content

RFC add bootable partition support

Rob Herring u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5disk/part: check bootable flag for DOS partitionsdisk/part_dos.c include/part.h+10 -20 replies
2/5disk/part: introduce get_device_and_partitiondisk/part.c include/part.h+64 -00 replies
3/5cmd_ext2: use common get_device_and_partition functioncommon/cmd_ext2.c+16 -550 replies
4/5cmd_fat: use common get_device_and_partition functioncommon/cmd_fat.c+26 -460 replies
5/5cmd_scsi: use common get_device_and_partition functioncommon/cmd_scsi.c+11 -470 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [RFC PATCH 0/5] add bootable partition support

From: Rob Herring <[email protected]>

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 "<dev>[:<part>]" 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(-)
Signature · 1 line
1.7.5.4