mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-03 21:49:32 +00:00
Update Zinger flashing process
Convert the Zinger flash update commands to the new RSA signature mechanism. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=samus BUG=chrome-os-partner:28336 TEST=from the workstation: ./util/flash_pd.py -m 1 build/zinger/ec.RW.bin from Samus command-line : ectool --name=cros_pd flashpd 0 1 ec.RW.bin Change-Id: Ie8cd7f644ec94e461c5775a4dbbcd408782c72e1 Reviewed-on: https://chromium-review.googlesource.com/221560 Reviewed-by: Alec Berg <alecaberg@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
01c331fd33
commit
c817472c07
@@ -2650,7 +2650,7 @@ enum usb_pd_fw_update_cmds {
|
||||
USB_PD_FW_REBOOT,
|
||||
USB_PD_FW_FLASH_ERASE,
|
||||
USB_PD_FW_FLASH_WRITE,
|
||||
USB_PD_FW_FLASH_HASH,
|
||||
USB_PD_FW_ERASE_SIG,
|
||||
};
|
||||
|
||||
struct ec_params_usb_pd_fw_update {
|
||||
|
||||
@@ -126,7 +126,7 @@ enum pd_errors {
|
||||
#define VDO_CMD_REBOOT VDO_CMD_VENDOR(5)
|
||||
#define VDO_CMD_FLASH_ERASE VDO_CMD_VENDOR(6)
|
||||
#define VDO_CMD_FLASH_WRITE VDO_CMD_VENDOR(7)
|
||||
#define VDO_CMD_FLASH_HASH VDO_CMD_VENDOR(8)
|
||||
#define VDO_CMD_ERASE_SIG VDO_CMD_VENDOR(8)
|
||||
#define VDO_CMD_PING_ENABLE VDO_CMD_VENDOR(10)
|
||||
#define VDO_CMD_CURRENT VDO_CMD_VENDOR(11)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user