aboutsummaryrefslogtreecommitdiff
path: root/disk/part.c
diff options
context:
space:
mode:
authorAlison Chaiken <alison@peloton-tech.com>2017-06-25 16:43:22 -0700
committerTom Rini <trini@konsulko.com>2017-08-04 09:56:03 -0400
commite6faf21f259ccc0601d06d458e33fb742deb1843 (patch)
tree1807f2455be2db1657acba9af8a4e42b8a73ab7a /disk/part.c
parent52791db74faba880ec2fedc633d2943811955ad5 (diff)
downloadu-boot-e6faf21f259ccc0601d06d458e33fb742deb1843.zip
u-boot-e6faf21f259ccc0601d06d458e33fb742deb1843.tar.gz
u-boot-e6faf21f259ccc0601d06d458e33fb742deb1843.tar.bz2
partitions: increase MAX_SEARCH_PARTITIONS and move to part.h
Move MAX_SEARCH_PARTITIONS to part.h so that functions in cmd directory can find it. At the same time, increase the value to 64 since some operating systems use many, and the resources consumed by a larger value are minimal. Changes since v6: none. Signed-off-by: Alison Chaiken <alison@peloton-tech.com>
Diffstat (limited to 'disk/part.c')
-rw-r--r--disk/part.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/disk/part.c b/disk/part.c
index 491b02d..e640a55 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -388,7 +388,6 @@ cleanup:
#define PART_UNSPECIFIED -2
#define PART_AUTO -1
-#define MAX_SEARCH_PARTITIONS 16
int blk_get_device_part_str(const char *ifname, const char *dev_part_str,
struct blk_desc **dev_desc,
disk_partition_t *info, int allow_whole_dev)