mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 06:50:10 +00:00

Implemented SMCCC_ARCH_SOC_ID call in order to get below SOC information: 1. SOC revision 2. SOC version Implementation done using below SMCCC specification document: https://developer.arm.com/docs/den0028/c Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com> Change-Id: Ie0595f1c345a6429a6fb4a7f05534a0ca9c9a48b
19 lines
497 B
C
19 lines
497 B
C
/*
|
|
* Copyright (c) 2018-2020, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef ARM_ARCH_SVC_H
|
|
#define ARM_ARCH_SVC_H
|
|
|
|
#define SMCCC_VERSION U(0x80000000)
|
|
#define SMCCC_ARCH_FEATURES U(0x80000001)
|
|
#define SMCCC_ARCH_SOC_ID U(0x80000002)
|
|
#define SMCCC_ARCH_WORKAROUND_1 U(0x80008000)
|
|
#define SMCCC_ARCH_WORKAROUND_2 U(0x80007FFF)
|
|
|
|
#define SMCCC_GET_SOC_VERSION U(0)
|
|
#define SMCCC_GET_SOC_REVISION U(1)
|
|
|
|
#endif /* ARM_ARCH_SVC_H */
|