aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-06-02 10:03:42 +0200
committerShawn Guo <shawnguo@kernel.org>2022-06-19 11:40:00 +0800
commit9fc792e596f17a1440dfeffb52e6786d6e53d90b (patch)
treeed49e82ef9e159062c205f80e318de497b83fab5
parentARM: imx: Kconfig: Fix indentation (diff)
downloadlinux-dev-9fc792e596f17a1440dfeffb52e6786d6e53d90b.tar.xz
linux-dev-9fc792e596f17a1440dfeffb52e6786d6e53d90b.zip
ARM: imx25: support silicon revision 1.2
Update the mx25_read_cpu_rev function to recognize silicon revision 1.2 for imx25 chipsets. Silicon revision 1.2 is mentioned in the errata document at https://www.nxp.com/docs/en/errata/IMX25CE.pdf. The imx25 chips on my test boards show revision 1.2 as well. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm/mach-imx/cpu-imx25.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/cpu-imx25.c b/arch/arm/mach-imx/cpu-imx25.c
index b2e1963f473d..3e63445cde06 100644
--- a/arch/arm/mach-imx/cpu-imx25.c
+++ b/arch/arm/mach-imx/cpu-imx25.c
@@ -32,6 +32,8 @@ static int mx25_read_cpu_rev(void)
return IMX_CHIP_REVISION_1_0;
case 0x01:
return IMX_CHIP_REVISION_1_1;
+ case 0x02:
+ return IMX_CHIP_REVISION_1_2;
default:
return IMX_CHIP_REVISION_UNKNOWN;
}