diff options
author | Alison Chaiken <alison@peloton-tech.com> | 2017-06-25 16:43:22 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-04 09:56:03 -0400 |
commit | e6faf21f259ccc0601d06d458e33fb742deb1843 (patch) | |
tree | 1807f2455be2db1657acba9af8a4e42b8a73ab7a /include/part.h | |
parent | 52791db74faba880ec2fedc633d2943811955ad5 (diff) | |
download | u-boot-e6faf21f259ccc0601d06d458e33fb742deb1843.tar.gz |
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 'include/part.h')
-rw-r--r-- | include/part.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h index 87b11112b8..22da604482 100644 --- a/include/part.h +++ b/include/part.h @@ -49,6 +49,7 @@ struct block_drvr { #define PART_NAME_LEN 32 #define PART_TYPE_LEN 32 +#define MAX_SEARCH_PARTITIONS 64 typedef struct disk_partition { lbaint_t start; /* # of first block in partition */ |