diff options
author | Juergen Beisert <jbe@pengutronix.de> | 2011-11-24 13:43:46 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-11-28 09:23:24 +0100 |
commit | 967a2675ba32c88140a1656aa21256baac525986 (patch) | |
tree | ca6cb47d26dfdad5b4e0789eb172370488a3c9c5 /include/disks.h | |
parent | 0748a120fbf2786c45f23234a07406ac5a9d2fd2 (diff) | |
download | barebox-967a2675ba32c88140a1656aa21256baac525986.tar.gz barebox-967a2675ba32c88140a1656aa21256baac525986.tar.xz |
DISK: Add common partition handling for disk like media
This covers disk like media like SD card, CF cards, regular hard disks and also
USB mass storage devices. Most common used partition table is still of DOS type.
This implementation is prepared to support more partition types in the future.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/disks.h')
-rw-r--r-- | include/disks.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/disks.h b/include/disks.h index ec136d4ee4..9932750a24 100644 --- a/include/disks.h +++ b/include/disks.h @@ -36,4 +36,6 @@ struct partition_entry { uint32_t partition_size; /*! Start of the partition in LBA notation */ } __attribute__ ((packed)); +extern int parse_partition_table(struct block_device*); + #endif /* DISKS_H */ |