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:
parent
3402728795
commit
6153389805
|
|
@ -2108,17 +2108,6 @@ static void cb_oem(struct usb_ep *ep, struct usb_request *req)
|
|||
}
|
||||
#else
|
||||
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
|
||||
} else if (strncmp("fuse at-perm-attr", cmd + 4, 16) == 0) {
|
||||
cb_oem_perm_attr();
|
||||
|
|
|
|||
Loading…
Reference in New Issue