platform: msm_shared: Fix max number of partition table entries
Max number of partition table entries is defined to 32, but the
gpt/mbr spec does not have any hard limit on the max entries.
Increase the max value to a safer number to 128.
CRs-Fixed: 551703
Change-Id: I93c9e98f3efb8fa85f99225e944ae86f834f7b5a
diff --git a/platform/msm_shared/include/partition_parser.h b/platform/msm_shared/include/partition_parser.h
index 25a73ca..bbd8422 100644
--- a/platform/msm_shared/include/partition_parser.h
+++ b/platform/msm_shared/include/partition_parser.h
@@ -72,7 +72,7 @@
#define MAX_GPT_NAME_SIZE 72
#define PARTITION_TYPE_GUID_SIZE 16
#define UNIQUE_PARTITION_GUID_SIZE 16
-#define NUM_PARTITIONS 32
+#define NUM_PARTITIONS 128
/* Some useful define used to access the MBR/EBR table */
#define BLOCK_SIZE 0x200