Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
25a76126
Commit
25a76126
authored
Jul 28, 2020
by
Madhukar Pappireddy
Committed by
TrustedFirmware Code Review
Jul 28, 2020
Browse files
Merge "plat/arm: Disable SMCCC_ARCH_SOC_ID feature" into integration
parents
a6151e7c
c7bacd40
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/arm/common/arm_common.c
View file @
25a76126
...
...
@@ -13,7 +13,9 @@
#include <common/debug.h>
#include <common/romlib.h>
#include <lib/mmio.h>
#include <lib/smccc.h>
#include <lib/xlat_tables/xlat_tables_compat.h>
#include <services/arm_arch_svc.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/common/platform.h>
...
...
@@ -235,6 +237,23 @@ int plat_sdei_validate_entry_point(uintptr_t ep, unsigned int client_mode)
}
#endif
/*****************************************************************************
* plat_is_smccc_feature_available() - This function checks whether SMCCC
* feature is availabile for platform.
* @fid: SMCCC function id
*
* Return SMC_OK if SMCCC feature is available and SMC_ARCH_CALL_NOT_SUPPORTED
* otherwise.
*****************************************************************************/
int32_t
plat_is_smccc_feature_available
(
u_register_t
fid
)
{
switch
(
fid
)
{
case
SMCCC_ARCH_SOC_ID
:
default:
return
SMC_ARCH_CALL_NOT_SUPPORTED
;
}
}
/*
* Weak function to get ARM platform SOC-ID, Always return SOC-ID=0
* ToDo: Get proper SOC-ID for every ARM platform and define this
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment