summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuo Ji <ji.luo@nxp.com>2018-07-03 14:35:31 +0800
committerLuo Ji <ji.luo@nxp.com>2018-07-04 13:52:52 +0800
commit7e5823676aa672069808b2a3387770d334edba2f (patch)
tree4b81960d713ab04a9187bc20f63bff27ded5fb09 /include
parent918268c5f86111e4282ccc08339802f98a7eed74 (diff)
MA-12120 [Android] Enlarge buffer size for partition name
Some partition name can be larger than 16 bytes like "factory_bootloader", enlage the buffer size to 20 bytes. Change-Id: I266c4e0af02e0ac1d758334aafcd6ed41d072dba Signed-off-by: Luo Ji <ji.luo@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/fsl_fastboot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fsl_fastboot.h b/include/fsl_fastboot.h
index d65f2262bb..9194ca658b 100644
--- a/include/fsl_fastboot.h
+++ b/include/fsl_fastboot.h
@@ -179,7 +179,7 @@ struct cmd_fastboot_interface {
*/
struct fastboot_ptentry {
/* The logical name for this partition, null terminated */
- char name[16];
+ char name[20];
/* The start wrt the nand part, must be multiple of nand block size */
unsigned int start;
/* The length of the partition, must be multiple of nand block size */