summaryrefslogtreecommitdiff
path: root/plat/xilinx/zynqmp/custom_sip_svc.c
blob: 459aa39f22011be9a7e1e809c0ed7fa2c3688b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * 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>

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)
{
	WARN("Unimplemented SiP Service Call: 0x%x\n", smc_fid);
	SMC_RET1(handle, SMC_UNK);
}