mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-03 10:17:21 +00:00
Merge tag 'u-boot-imx-master-20241115' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
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:
commit
c04999d999
2 changed files with 2 additions and 1 deletions
|
@ -115,7 +115,7 @@ int fixup_thermal_trips(void *blob, const char *name)
|
||||||
|
|
||||||
temp = 0;
|
temp = 0;
|
||||||
if (!strcmp(type, "critical"))
|
if (!strcmp(type, "critical"))
|
||||||
temp = 1000 * (maxc - 5);
|
temp = 1000 * maxc;
|
||||||
else if (!strcmp(type, "passive"))
|
else if (!strcmp(type, "passive"))
|
||||||
temp = 1000 * (maxc - 10);
|
temp = 1000 * (maxc - 10);
|
||||||
if (temp) {
|
if (temp) {
|
||||||
|
|
|
@ -93,6 +93,7 @@ static void parse_cfg_cmd(image_t *param_stack, int32_t cmd, char *token,
|
||||||
case CMD_DCD_SKIP:
|
case CMD_DCD_SKIP:
|
||||||
if (!strncmp("true", token, 4))
|
if (!strncmp("true", token, 4))
|
||||||
dcd_skip = true;
|
dcd_skip = true;
|
||||||
|
break;
|
||||||
case CMD_FUSE_VERSION:
|
case CMD_FUSE_VERSION:
|
||||||
fuse_version = (uint8_t)(strtoll(token, NULL, 0) & 0xFF);
|
fuse_version = (uint8_t)(strtoll(token, NULL, 0) & 0xFF);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue