common: sd_recovery: increase maximum partition number
authorJaewon Kim <jaewon02.kim@samsung.com>
Fri, 18 Nov 2016 09:46:39 +0000 (18:46 +0900)
committerJaewon Kim <jaewon02.kim@samsung.com>
Fri, 31 Mar 2017 06:23:31 +0000 (15:23 +0900)
This patch increase maximum partition number
to support platform with many partitions.

Change-Id: I0eeb11e0624e9a77af369aa765ec3a81c87a7630
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
common/cmd_sd_recovery.c

index ff9eaa244a60cf7d5e7d7a1532bdfbe4783d1f5e..8755078fc0e2224ef3cd19407430c7ddf6150d3a 100644 (file)
@@ -20,7 +20,7 @@
 #define        UPDATE_SDCARD_NAND_MAX          1
 #define        UPDATE_SDCARD_MEM_MAX           1
 
-#define        DEV_PART_MAX    (10)    /* each device max partition max num */
+#define        DEV_PART_MAX    (16)    /* each device max partition max num */
 
 /* device types */
 #define        UPDATE_SDCARD_DEV_EEPROM        (1<<0)  /*  name "eeprom" */