Skip to content
Snippets Groups Projects
Commit 2b323dce authored by Ion Agorria's avatar Ion Agorria Committed by Svyatoslav Ryhel
Browse files

arm: tegra: fix typo in logging functions


Change %02X to %02x since it always displayed 00 otherwise.

Signed-off-by: default avatarIon Agorria <ion@agorria.com>
Signed-off-by: default avatarSvyatoslav Ryhel <clamor95@gmail.com>
parent 8768ade2
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ int tegra_get_chip(void)
* Tegra30, 0x35 for T114, and 0x40 for Tegra124.
*/
rev = (readl(&gp->hidrev) & HIDREV_CHIPID_MASK) >> HIDREV_CHIPID_SHIFT;
debug("%s: CHIPID is 0x%02X\n", __func__, rev);
debug("%s: CHIPID is 0x%02x\n", __func__, rev);
return rev;
}
......@@ -43,7 +43,7 @@ int tegra_get_sku_info(void)
struct fuse_regs *fuse = (struct fuse_regs *)NV_PA_FUSE_BASE;
sku_id = readl(&fuse->sku_info) & 0xff;
debug("%s: SKU info byte is 0x%02X\n", __func__, sku_id);
debug("%s: SKU info byte is 0x%02x\n", __func__, sku_id);
return sku_id;
}
......@@ -103,8 +103,8 @@ int tegra_get_chip_sku(void)
}
/* unknown chip/sku id */
printf("%s: ERROR: UNKNOWN CHIP/SKU ID COMBO (0x%02X/0x%02X)\n",
__func__, chip_id, sku_id);
printf("%s: ERROR: UNKNOWN CHIP/SKU ID COMBO (0x%02x/0x%02x)\n",
__func__, chip_id, sku_id);
return TEGRA_SOC_UNKNOWN;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment