Skip to content
Snippets Groups Projects
Commit 6332e1ed authored by Troy Kisky's avatar Troy Kisky
Browse files

imx8m: imx8mq: soc: fix get chip rev for B1 revision"


This reverts commit 308ca269.

Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
parent 61986c01
No related branches found
No related tags found
No related merge requests found
......@@ -203,8 +203,8 @@ u32 get_cpu_rev(void)
rom_version =
readl((void __iomem *)ROM_VERSION_A0);
if (rom_version != CHIP_REV_1_0) {
rom_version = readl((void __iomem *)ROM_VERSION_B0);
if (rom_version == CHIP_REV_2_0)
rom_version = readl((void __iomem *)ROM_VERSION_B0) & 0xff;
if (rom_version >= CHIP_REV_2_0)
reg = CHIP_REV_2_0;
}
}
......
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