mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-07 20:40:48 +01:00
ipq6018: Restricting scm calls for emulations
Change-Id: Ifb8db2348f8aa02c48d0dbfd263da94260849c51 Signed-off-by: Antony Arun T <antothom@codeaurora.org>
This commit is contained in:
parent
e63b778c80
commit
81eda81fc4
2 changed files with 25 additions and 0 deletions
|
|
@ -400,6 +400,7 @@ void __attribute__ ((noreturn)) execute_tzt(void *entry_addr)
|
|||
#endif
|
||||
static uint8_t tz_buf[CONFIG_SYS_CACHELINE_SIZE] __aligned(CONFIG_SYS_CACHELINE_SIZE);
|
||||
|
||||
#ifndef CONFIG_QCA_DISABLE_SCM
|
||||
int qca_scm_call(u32 svc_id, u32 cmd_id, void *buf, size_t len)
|
||||
{
|
||||
int ret = 0;
|
||||
|
|
@ -528,6 +529,29 @@ int qca_scm_secure_authenticate(void *cmd_buf, size_t cmd_len)
|
|||
|
||||
return ret;
|
||||
}
|
||||
#else
|
||||
int qca_scm_call(u32 svc_id, u32 cmd_id, void *buf, size_t len)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
int qca_scm_fuseipq(u32 svc_id, u32 cmd_id, void *buf, size_t len)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
int qca_scm_auth_kernel(void *cmd_buf,
|
||||
size_t cmd_len)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
int is_scm_sec_auth_available(u32 svc_id, u32 cmd_id)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
int qca_scm_secure_authenticate(void *cmd_buf, size_t cmd_len)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
int qca_scm_call_write(u32 svc_id, u32 cmd_id, u32 *addr, u32 val)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
#endif
|
||||
|
||||
#define CONFIG_IPQ6018
|
||||
#define CONFIG_QCA_DISABLE_SCM
|
||||
|
||||
#define CONFIG_BOARD_EARLY_INIT_F
|
||||
#define CONFIG_BOARD_LATE_INIT
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue