summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/stm32mp2/cpu.c
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@foss.st.com>2024-01-15 15:05:50 +0100
committerPatrice Chotard <patrice.chotard@foss.st.com>2024-01-19 14:37:50 +0100
commit9c2f5b8ad6ab28c2196bddedcd69cca954270a89 (patch)
treeb5738100960cfd2953c3dbad2fe93663644e408d /arch/arm/mach-stm32mp/stm32mp2/cpu.c
parent1af148da848aa00fd605d726f6de6a0ff3dc3793 (diff)
stm32mp: add setup_serial_number for stm32mp25
Add support of serial number for stm32mp25, gets from OTP with BSEC driver. Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Diffstat (limited to 'arch/arm/mach-stm32mp/stm32mp2/cpu.c')
-rw-r--r--arch/arm/mach-stm32mp/stm32mp2/cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-stm32mp/stm32mp2/cpu.c b/arch/arm/mach-stm32mp/stm32mp2/cpu.c
index c0f6519e8d7..301e365cf4f 100644
--- a/arch/arm/mach-stm32mp/stm32mp2/cpu.c
+++ b/arch/arm/mach-stm32mp/stm32mp2/cpu.c
@@ -69,6 +69,8 @@ void enable_caches(void)
int arch_misc_init(void)
{
+ setup_serial_number();
+
return 0;
}