]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: stm32mp: correctly handle Silicon revision
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 15 Apr 2022 13:00:43 +0000 (15:00 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 10 May 2022 08:56:39 +0000 (10:56 +0200)
commitc2e14033c644a9dc334aefbb2381c01e9ae092e7
treef1900eaa44a6df1c0ae454fc1708f97652dd35e1
parent9a3ffca586ccc9283312275bd6e858aff6a033d8
ARM: stm32mp: correctly handle Silicon revision

Handle correctly the silicon revision = REV_ID[15:0] of Device Version
and the associated device marking, A to Z on STMicroelectronics STM32MP
SOCs.

This patch prepare the introduction of next STM32MP family,
with STM32MP13x Rev.Z for REV_ID = 1.1.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/cpu.c
arch/arm/mach-stm32mp/include/mach/sys_proto.h