diff options
author | Patrice Chotard <patrice.chotard@foss.st.com> | 2024-01-15 15:05:50 +0100 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2024-01-19 14:37:50 +0100 |
commit | 9c2f5b8ad6ab28c2196bddedcd69cca954270a89 (patch) | |
tree | b5738100960cfd2953c3dbad2fe93663644e408d /arch/arm/mach-stm32mp/stm32mp2/cpu.c | |
parent | 1af148da848aa00fd605d726f6de6a0ff3dc3793 (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.c | 2 |
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; } |