diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2020-12-23 13:55:10 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-15 14:38:00 -0500 |
commit | 92f1c89d0a90ee39fce53ca6054223bf6b422cfb (patch) | |
tree | 0f8a015aba23bf0f8de6bfa0fa2dced0c86ac308 /include | |
parent | 70c2525c0d3c5b459ba5a438b23056be648a5249 (diff) | |
download | u-boot-92f1c89d0a90ee39fce53ca6054223bf6b422cfb.tar.gz |
disk: dos: rename write_mbr_partition to write_mbr_sector
write_mbr_partition() function name is a bit misleading, so rename it to
write_mbr_sector(). This is a preparation for adding code for writing a
complete MBR partition layout.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/part.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/part.h b/include/part.h index 55be724d20..67b8b2a5cc 100644 --- a/include/part.h +++ b/include/part.h @@ -465,14 +465,14 @@ int get_disk_guid(struct blk_desc *dev_desc, char *guid); int is_valid_dos_buf(void *buf); /** - * write_mbr_partition() - write DOS MBR + * write_mbr_sector() - write DOS MBR * * @param dev_desc - block device descriptor * @param buf - buffer which contains the MBR * * @return - '0' on success, otherwise error */ -int write_mbr_partition(struct blk_desc *dev_desc, void *buf); +int write_mbr_sector(struct blk_desc *dev_desc, void *buf); #endif |