Amit Nagal | f7ecba3 | 2023-02-15 18:43:55 +0530 | [diff] [blame] | 1 | /* |
Michal Simek | d4ff272 | 2023-04-20 08:01:03 +0200 | [diff] [blame] | 2 | * Copyright (c) 2022-2023, Advanced Micro Devices, Inc. All rights reserved. |
Amit Nagal | f7ecba3 | 2023-02-15 18:43:55 +0530 | [diff] [blame] | 3 | * |
| 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 | |
| 11 | uint64_t custom_smc_handler(uint32_t smc_fid, uint64_t x1, uint64_t x2, |
| 12 | uint64_t x3, uint64_t x4, void *cookie, |
| 13 | void *handle, uint64_t flags) |
| 14 | { |
| 15 | WARN("Unimplemented SiP Service Call: 0x%x\n", smc_fid); |
| 16 | SMC_RET1(handle, SMC_UNK); |
| 17 | } |
Amit Nagal | 71e1ffc | 2023-02-23 21:37:23 +0530 | [diff] [blame] | 18 | |
| 19 | void custom_early_setup(void) |
| 20 | { |
| 21 | } |
| 22 | |
| 23 | void custom_mmap_add(void) |
| 24 | { |
| 25 | } |
Akshay Belsare | e8af4da | 2023-04-06 11:09:20 +0530 | [diff] [blame] | 26 | |
| 27 | void custom_runtime_setup(void) |
| 28 | { |
| 29 | } |