summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-08-23 11:31:43 +0000
committerTom Rini <trini@ti.com>2012-09-25 14:43:19 -0700
commit40e0e5686accd2f7ae7fd81297620d0e132624d9 (patch)
tree304a0b2f902872302d738623cd38b271de0d588b /include
parent7405a133101e009c760b98dd4dbcdc49b82ec3b3 (diff)
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')
-rw-r--r--include/part.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h
index e1478f4ebf4..447f69dfc4f 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 */