1 /* 2 * Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #include <arch.h> 8 #include <arch_helpers.h> 9 #include <assert.h> 10 #include <common/bl_common.h> 11 #include <lib/el3_runtime/context_mgmt.h> 12 #include <common/debug.h> 13 #include <errno.h> 14 #include <mce.h> 15 #include <memctrl.h> 16 #include <common/runtime_svc.h> 17 #include <tegra_private.h> 18 #include <tegra_platform.h> 19 #include <stdbool.h> 20 21 /******************************************************************************* 22 * Tegra194 SiP SMCs 23 ******************************************************************************/ 24 25 /******************************************************************************* 26 * This function is responsible for handling all T194 SiP calls 27 ******************************************************************************/ 28 int32_t plat_sip_handler(uint32_t smc_fid, 29 uint64_t x1, 30 uint64_t x2, 31 uint64_t x3, 32 uint64_t x4, 33 const void *cookie, 34 void *handle, 35 uint64_t flags) 36 { 37 int32_t ret = -ENOTSUP; 38 39 (void)smc_fid; 40 (void)x1; 41 (void)x4; 42 (void)cookie; 43 (void)flags; 44 45 return ret; 46 } 47