You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After 65ccb1f, the firmware activation step writes the bootloader magic word even if the hpm_finish_upload function fails. We should create a variable to indicate that the hpm_finish_upload function executed without any error before proceeding writing the bootloader magic word. This variable should be initialised in such a way that only if a successful execution of hpm_finish_upload will allow ipmc_hpm_finish_upload and bootloader_hpm_activate_firmware to execute without errors. This variable should be reseted when calling hpm_prepare_comp.
After 65ccb1f, the firmware activation step writes the bootloader magic word even if the
hpm_finish_upload
function fails. We should create a variable to indicate that thehpm_finish_upload
function executed without any error before proceeding writing the bootloader magic word. This variable should be initialised in such a way that only if a successful execution ofhpm_finish_upload
will allowipmc_hpm_finish_upload
andbootloader_hpm_activate_firmware
to execute without errors. This variable should be reseted when callinghpm_prepare_comp
.Relevant source excerpts:
openMMC/port/ucontroller/nxp/lpc17xx/lpc17_hpm.c
Lines 185 to 202 in e681ca4
openMMC/port/ucontroller/nxp/lpc17xx/lpc17_hpm.c
Lines 226 to 251 in e681ca4
openMMC/port/ucontroller/nxp/lpc17xx/lpc17_hpm.c
Lines 253 to 257 in e681ca4
The text was updated successfully, but these errors were encountered: