msm: nand: Increase number of supported NAND partitions for FOTA
Bootloader now additionaly exposes modem partitions to mtd via atag to
support FOTA - delta update of modem images from recovery.
Number of partitions supported is increased to 18 to expose partitions
up until FOTA.
Change-Id: Icde54056403fe9b6a0a8f5c4554036cbe4d4abe0
Signed-off-by: Mekala Natarajan <mekalan@codeaurora.org>
diff --git a/arch/arm/mach-msm/nand_partitions.c b/arch/arm/mach-msm/nand_partitions.c
index bd0e474..499ad99 100644
--- a/arch/arm/mach-msm/nand_partitions.c
+++ b/arch/arm/mach-msm/nand_partitions.c
@@ -4,7 +4,7 @@
* bootloader.
*
* Copyright (C) 2007 Google, Inc.
- * Copyright (c) 2008-2009, Code Aurora Forum. All rights reserved.
+ * Copyright (c) 2008-2009,2011 Code Aurora Forum. All rights reserved.
* Author: Brian Swetland <swetland@google.com>
*
* This software is licensed under the terms of the GNU General Public
@@ -48,7 +48,7 @@
__u32 flags;
};
-#define MSM_MAX_PARTITIONS 8
+#define MSM_MAX_PARTITIONS 18
static struct mtd_partition msm_nand_partitions[MSM_MAX_PARTITIONS];
static char msm_nand_names[MSM_MAX_PARTITIONS * 16];