xref: /rk3399_ARM-atf/plat/arm/common/plat_acs_smc_handler.c (revision fbab861f7f7392d1fc07ad8addc9d4484aaa95ce)
1*f69f5512SNandan J /*
2*f69f5512SNandan J  * Copyright (c) 2025, ARM Limited and Contributors. All rights reserved.
3*f69f5512SNandan J  *
4*f69f5512SNandan J  * SPDX-License-Identifier: BSD-3-Clause
5*f69f5512SNandan J  */
6*f69f5512SNandan J #include <stdint.h>
7*f69f5512SNandan J #include <plat/arm/common/plat_acs_smc_handler.h>
8*f69f5512SNandan J 
9*f69f5512SNandan J /*
10*f69f5512SNandan J  * Placeholder function for handling ACS SMC calls.
11*f69f5512SNandan J  * return 0  till the handling is done.
12*f69f5512SNandan J  */
plat_arm_acs_smc_handler(unsigned int smc_fid,uint64_t services,uint64_t arg0,uint64_t arg1,uint64_t arg2,void * handle)13*f69f5512SNandan J uintptr_t plat_arm_acs_smc_handler(unsigned int smc_fid, uint64_t services,
14*f69f5512SNandan J 		 uint64_t arg0, uint64_t arg1, uint64_t arg2, void *handle)
15*f69f5512SNandan J {
16*f69f5512SNandan J 	WARN("Unimplemented ACS Call: 0x%x\n", smc_fid);
17*f69f5512SNandan J 	SMC_RET1(handle, SMC_UNK);
18*f69f5512SNandan J }
19