diff options
Diffstat (limited to 'common/usb_update.c')
-rw-r--r-- | common/usb_update.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/usb_update.c b/common/usb_update.c index 4d4c65d906..0c14d8dfbf 100644 --- a/common/usb_update.c +++ b/common/usb_update.c @@ -196,6 +196,12 @@ static int try_vendor_command(struct consumer const *consumer, size_t count) flash_set_protect(EC_FLASH_PROTECT_RW_AT_BOOT, 0); response = EC_RES_SUCCESS; break; +#ifdef CONFIG_ROLLBACK + case UPDATE_EXTRA_CMD_UNLOCK_ROLLBACK: + flash_set_protect(EC_FLASH_PROTECT_ROLLBACK_AT_BOOT, 0); + response = EC_RES_SUCCESS; + break; +#endif default: response = EC_RES_INVALID_COMMAND; } |