summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdrivers/usb/gadget/f_fastboot.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c
index a4c4cc5788..a92c5c26dd 100755
--- a/drivers/usb/gadget/f_fastboot.c
+++ b/drivers/usb/gadget/f_fastboot.c
@@ -935,7 +935,7 @@ static int _fastboot_parts_add_ptable_entry(int ptable_index,
#endif
strcpy(ptable[ptable_index].fstype, "ext4");
else
- strcpy(ptable[ptable_index].fstype, "emmc");
+ strcpy(ptable[ptable_index].fstype, "raw");
return 0;
}
@@ -1007,6 +1007,7 @@ static int _fastboot_parts_load_from_ptable(void)
ptable[PTN_GPT_INDEX].length = ANDROID_GPT_SIZE / dev_desc->blksz;
ptable[PTN_GPT_INDEX].partition_id = user_partition;
ptable[PTN_GPT_INDEX].flags = FASTBOOT_PTENTRY_FLAGS_UNERASEABLE;
+ strcpy(ptable[PTN_GPT_INDEX].fstype, "raw");
/* Bootloader */
strcpy(ptable[PTN_BOOTLOADER_INDEX].name, FASTBOOT_PARTITION_BOOTLOADER);
ptable[PTN_BOOTLOADER_INDEX].start =
@@ -1015,6 +1016,7 @@ static int _fastboot_parts_load_from_ptable(void)
ANDROID_BOOTLOADER_SIZE / dev_desc->blksz;
ptable[PTN_BOOTLOADER_INDEX].partition_id = boot_partition;
ptable[PTN_BOOTLOADER_INDEX].flags = FASTBOOT_PTENTRY_FLAGS_UNERASEABLE;
+ strcpy(ptable[PTN_BOOTLOADER_INDEX].fstype, "raw");
int tbl_idx;
int part_idx = 1;