diff options
Diffstat (limited to 'include/part.h')
-rw-r--r-- | include/part.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h index 807370d942..be75c73549 100644 --- a/include/part.h +++ b/include/part.h @@ -303,6 +303,14 @@ part_get_info_by_dev_and_name_or_num(const char *dev_iface, } #endif +/** + * part_get_bootable() - Find the first bootable partition + * + * @desc: Block-device descriptor + * @return first bootable partition, or 0 if there is none + */ +int part_get_bootable(struct blk_desc *desc); + struct udevice; /** * part_create_block_devices - Create block devices for disk partitions |