author | Xindong Xu <xindong.xu@amlogic.com> | 2019-08-07 06:12:39 (GMT) |
---|---|---|
committer | Xindong Xu <xindong.xu@amlogic.com> | 2019-08-07 08:35:33 (GMT) |
commit | 8aae38fee54f463d7bb12eddff4901dd22c28c5b (patch) | |
tree | d003baa944c0fe39192cc2ba9c7daae3e480036a | |
parent | 90b83c13f98282a7ff871a6a31afb86e742fb96c (diff) | |
download | uboot-8aae38fee54f463d7bb12eddff4901dd22c28c5b.zip uboot-8aae38fee54f463d7bb12eddff4901dd22c28c5b.tar.gz uboot-8aae38fee54f463d7bb12eddff4901dd22c28c5b.tar.bz2 |
fastboot: do not flash logic partition in bootloader [1/1]
PD#SWPL-9437
Problem:
VtsFastbootVerification module error
Solution:
do not flash logic partition in bootloader
Verify:
franklin
Change-Id: I7c446eb8727aea7d1b673aad6949d1cf7414dfa0
-rw-r--r-- | drivers/usb/gadget/f_fastboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c index 00b3c83..6b47d2b 100644 --- a/drivers/usb/gadget/f_fastboot.c +++ b/drivers/usb/gadget/f_fastboot.c @@ -1220,7 +1220,7 @@ static void cb_flash(struct usb_ep *ep, struct usb_request *req) if (dynamic_partition) { if ((strcmp(cmd, "system") == 0) || (strcmp(cmd, "vendor") == 0) - || (strcmp(cmd, "odm") == 0) || (strcmp(cmd, "product") == 0)) { + || (strcmp(cmd, "odm") == 0) || (strcmp(cmd, "product") == 0) || (strcmp(cmd, "test_partition") == 0)) { error("system/vendor/odm/product is logic partition, can not write here\n"); fastboot_tx_write_str("FAILlogic partition"); return; |