diff options
Diffstat (limited to 'chip/g/upgrade_fw.h')
-rw-r--r-- | chip/g/upgrade_fw.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chip/g/upgrade_fw.h b/chip/g/upgrade_fw.h index f91e684e38..092f2812fa 100644 --- a/chip/g/upgrade_fw.h +++ b/chip/g/upgrade_fw.h @@ -136,6 +136,14 @@ enum return_value { UPGRADE_VERIFY_ERROR = 5, UPGRADE_GEN_ERROR = 6, UPGRADE_MALLOC_ERROR = 7, + UPGRADE_ROLLBACK_ERROR = 8, + UPGRADE_RATE_LIMIT_ERROR = 9, }; +/* + * This is the size of the update frame payload, unless this is the last chunk + * of the image. + */ +#define SIGNED_TRANSFER_SIZE 1024 + #endif /* ! __EC_CHIP_G_UPGRADE_FW_H */ |