fastboot: delete command at-disable-unlock-vboot

It is no need to support this command that it makes difficult
to debug when disable unlock device.

Change-Id: I1f38d9d0d12aa8a7cbadf5c87567e52fb712013e
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This commit is contained in:
Jason Zhu 2019-12-05 20:03:19 +08:00 committed by Jianhong Chen
parent 3402728795
commit 6153389805
1 changed files with 0 additions and 11 deletions

View File

@ -2108,17 +2108,6 @@ static void cb_oem(struct usb_ep *ep, struct usb_request *req)
} }
#else #else
fastboot_tx_write_str("FAILnot implemented"); fastboot_tx_write_str("FAILnot implemented");
#endif
} else if (strncmp("at-disable-unlock-vboot", cmd + 4, 23) == 0) {
#ifdef CONFIG_RK_AVB_LIBAVB_USER
uint8_t lock_state;
lock_state = 2;
if (rk_avb_write_lock_state(lock_state))
fastboot_tx_write_str("FAILwrite lock state failed");
else
fastboot_tx_write_str("OKAY");
#else
fastboot_tx_write_str("FAILnot implemented");
#endif #endif
} else if (strncmp("fuse at-perm-attr", cmd + 4, 16) == 0) { } else if (strncmp("fuse at-perm-attr", cmd + 4, 16) == 0) {
cb_oem_perm_attr(); cb_oem_perm_attr();