mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-19 11:04:20 +00:00

Change-Id: I9c8241d8cd9d95b647c612dd66dd554d5965c2ac Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Mathieu Belou <mathieu.belou@st.com> Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
31 lines
869 B
C
31 lines
869 B
C
/*
|
|
* Copyright (c) 2016-2019, STMicroelectronics - All Rights Reserved
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef STM32MP1_SMC_H
|
|
#define STM32MP1_SMC_H
|
|
|
|
/*
|
|
* SMC function IDs for STM32 Service queries
|
|
* STM32 SMC services use the space between 0x82000000 and 0x8200FFFF
|
|
* like this is defined in SMC calling Convention by ARM
|
|
* for SiP (silicon Partner)
|
|
* https://developer.arm.com/docs/den0028/latest
|
|
*/
|
|
|
|
/* SMC function IDs for SiP Service queries */
|
|
#define STM32_SIP_SVC_CALL_COUNT 0x8200ff00
|
|
#define STM32_SIP_SVC_UID 0x8200ff01
|
|
/* 0x8200ff02 is reserved */
|
|
#define STM32_SIP_SVC_VERSION 0x8200ff03
|
|
|
|
/* STM32 SiP Service Calls version numbers */
|
|
#define STM32_SIP_SVC_VERSION_MAJOR 0x0
|
|
#define STM32_SIP_SVC_VERSION_MINOR 0x1
|
|
|
|
/* Number of STM32 SiP Calls implemented */
|
|
#define STM32_COMMON_SIP_NUM_CALLS 3
|
|
|
|
#endif /* STM32MP1_SMC_H */
|