1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

part: Rename test_part_xx() and print_part_xx()

Rename these functions so that part_ is at the start. This more clearly
identifies these functions as partition functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2016-02-29 15:26:04 -07:00
parent 61ccd886e2
commit 084bf4c244
5 changed files with 27 additions and 27 deletions

View File

@@ -87,7 +87,7 @@ static int test_block_type(unsigned char *buffer)
}
static int test_part_dos(struct blk_desc *dev_desc)
static int part_test_dos(struct blk_desc *dev_desc)
{
ALLOC_CACHE_ALIGN_BUFFER(unsigned char, buffer, dev_desc->blksz);
@@ -285,7 +285,7 @@ static int part_get_info_extended(struct blk_desc *dev_desc,
return -1;
}
void print_part_dos(struct blk_desc *dev_desc)
void part_print_dos(struct blk_desc *dev_desc)
{
printf("Part\tStart Sector\tNum Sectors\tUUID\t\tType\n");
print_partition_extended(dev_desc, 0, 0, 1, 0);
@@ -301,8 +301,8 @@ U_BOOT_PART_TYPE(dos) = {
.name = "DOS",
.part_type = PART_TYPE_DOS,
.get_info = part_get_info_ptr(part_get_info_dos),
.print = part_print_ptr(print_part_dos),
.test = test_part_dos,
.print = part_print_ptr(part_print_dos),
.test = part_test_dos,
};
#endif