mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user