arm-trusted-firmware/plat/xilinx/zynqmp/custom_sip_svc.c
Maheedhar Bollapalli 6c08d1df0c fix(zynqmp): add external declaration
This corrects the MISRA violation C2012-8.4:
A compatible declaration shall be visible when an object or
function with external linkage is defined.

Change-Id: I0e554972c24b70abd5b563639482f267cd4e1b5e
Signed-off-by: Nithin G <nithing@amd.com>
Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
2024-11-05 08:10:10 +00:00

37 lines
662 B
C

/*
* Copyright (c) 2022-2023, Advanced Micro Devices, Inc. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <common/bl_common.h>
#include <common/debug.h>
#include <smccc_helpers.h>
#include <custom_svc.h>
uint64_t custom_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2,
uint64_t x3, uint64_t x4, void *cookie,
void *handle, uint64_t flags)
{
(void)x1;
(void)x2;
(void)x3;
(void)x4;
(void)cookie;
(void)flags;
WARN("Unimplemented SiP Service Call: 0x%x\n", smc_fid);
SMC_RET1(handle, SMC_UNK);
}
void custom_early_setup(void)
{
}
void custom_mmap_add(void)
{
}
void custom_runtime_setup(void)
{
}