diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-08-23 11:31:43 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-09-25 21:43:19 (GMT) |
commit | 40e0e5686accd2f7ae7fd81297620d0e132624d9 (patch) | |
tree | 304a0b2f902872302d738623cd38b271de0d588b /include/part.h | |
parent | 7405a133101e009c760b98dd4dbcdc49b82ec3b3 (diff) | |
download | u-boot-40e0e5686accd2f7ae7fd81297620d0e132624d9.tar.xz |
disk/part: check bootable flag for DOS partitions
Determine which partitions are bootable/active. In the partition listing,
print "Boot" for partitions with the bootable/active flag set.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'include/part.h')
-rw-r--r-- | include/part.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h index e1478f4..447f69d 100644 --- a/include/part.h +++ b/include/part.h @@ -93,6 +93,7 @@ typedef struct disk_partition { ulong blksz; /* block size in bytes */ uchar name[32]; /* partition name */ uchar type[32]; /* string type description */ + int bootable; /* Active/Bootable flag is set */ } disk_partition_t; /* Misc _get_dev functions */ |