blob: c39e4bef2c3f77f9358e6f90f353380703a7899e [file] [log] [blame]
Amit Nagalf7ecba32023-02-15 18:43:55 +05301/*
Michal Simekd4ff2722023-04-20 08:01:03 +02002 * Copyright (c) 2022-2023, Advanced Micro Devices, Inc. All rights reserved.
Amit Nagalf7ecba32023-02-15 18:43:55 +05303 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <common/bl_common.h>
8#include <common/debug.h>
9#include <smccc_helpers.h>
10
Maheedhar Bollapallid64d08d2024-04-19 14:35:27 +053011#include <custom_svc.h>
12
Amit Nagalf7ecba32023-02-15 18:43:55 +053013uint64_t custom_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2,
14 uint64_t x3, uint64_t x4, void *cookie,
15 void *handle, uint64_t flags)
16{
Maheedhar Bollapallia91fd452024-04-18 15:11:36 +053017 (void)x1;
18 (void)x2;
19 (void)x3;
20 (void)x4;
21 (void)cookie;
22 (void)flags;
Amit Nagalf7ecba32023-02-15 18:43:55 +053023 WARN("Unimplemented SiP Service Call: 0x%x\n", smc_fid);
24 SMC_RET1(handle, SMC_UNK);
25}
Amit Nagal71e1ffc2023-02-23 21:37:23 +053026
27void custom_early_setup(void)
28{
29}
30
31void custom_mmap_add(void)
32{
33}
Akshay Belsaree8af4da2023-04-06 11:09:20 +053034
35void custom_runtime_setup(void)
36{
37}