diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/ectool.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/util/ectool.c b/util/ectool.c index d6c47a7407..da16c8e3c4 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -886,9 +886,6 @@ int cmd_pd_device_info(int argc, char *argv[]) return rv; } - -/* PD image size is 16k minus 32 bits for the RW hash */ -#define PD_RW_IMAGE_SIZE (16 * 1024) int cmd_flash_pd(int argc, char *argv[]) { struct ec_params_usb_pd_fw_update *p = @@ -922,10 +919,6 @@ int cmd_flash_pd(int argc, char *argv[]) if (!buf) return -1; - /* Verify size of file */ - if (fsize != PD_RW_IMAGE_SIZE) - goto pd_flash_error; - /* Erase the current RW RSA signature */ fprintf(stderr, "Erasing expected RW hash\n"); p->cmd = USB_PD_FW_ERASE_SIG; |