CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/23373

- Fix a missing break for CMD_DCD_SKIP reported by Coverty on imx8image.
- Fix i.MX thermal threshold regression.
This commit is contained in:
Tom Rini 2024-11-15 13:10:36 -06:00
commit c04999d999
2 changed files with 2 additions and 1 deletions

View file

@ -115,7 +115,7 @@ int fixup_thermal_trips(void *blob, const char *name)
temp = 0;
if (!strcmp(type, "critical"))
temp = 1000 * (maxc - 5);
temp = 1000 * maxc;
else if (!strcmp(type, "passive"))
temp = 1000 * (maxc - 10);
if (temp) {

View file

@ -93,6 +93,7 @@ static void parse_cfg_cmd(image_t *param_stack, int32_t cmd, char *token,
case CMD_DCD_SKIP:
if (!strncmp("true", token, 4))
dcd_skip = true;
break;
case CMD_FUSE_VERSION:
fuse_version = (uint8_t)(strtoll(token, NULL, 0) & 0xFF);
break;