diff mbox series

[1/3] ARM: imx25: support silicon revision 1.2

Message ID 20220602080344.208702-2-martin@kaiser.cx
State New
Headers show
Series ARM: imx25: print silicon revision, support 1.2 | expand

Commit Message

Martin Kaiser June 2, 2022, 8:03 a.m. UTC
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>
---
 arch/arm/mach-imx/cpu-imx25.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Shawn Guo June 19, 2022, 3:40 a.m. UTC | #1
On Thu, Jun 02, 2022 at 10:03:42AM +0200, Martin Kaiser wrote:
> 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>

Applied this one, thanks!
diff mbox series

Patch

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;
 	}