From 0ef8e4069e410f872558c26af2486041cb797663 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Wed, 12 Jun 2019 11:49:06 +0200 Subject: ARM: meson: sm: Add secure monitor calls to retrieve SoC serial number The Secure Monitor interface permits retrieving the SoC Serial Number, add a function to retrieve it. Signed-off-by: Neil Armstrong --- arch/arm/include/asm/arch-meson/sm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/include/asm/arch-meson') diff --git a/arch/arm/include/asm/arch-meson/sm.h b/arch/arm/include/asm/arch-meson/sm.h index 83d6441..a5bac5a 100644 --- a/arch/arm/include/asm/arch-meson/sm.h +++ b/arch/arm/include/asm/arch-meson/sm.h @@ -7,5 +7,6 @@ #define __MESON_SM_H__ ssize_t meson_sm_read_efuse(uintptr_t offset, void *buffer, size_t size); +int meson_sm_get_serial(void *buffer, size_t size); #endif /* __MESON_SM_H__ */ -- cgit v1.1