RFC add bootable partition support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | disk/part: check bootable flag for DOS partitionsdisk/ include/ | +10 | 0 replies | |
| 2/5 | disk/part: introduce get_device_and_partitiondisk/ include/ | +64 | 0 replies | |
| 3/5 | cmd_ext2: use common get_device_and_partition functioncommon/ | +16 | 0 replies | |
| 4/5 | cmd_fat: use common get_device_and_partition functioncommon/ | +26 | 0 replies | |
| 5/5 | cmd_scsi: use common get_device_and_partition functioncommon/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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