blob: b0f3a03dabc9255c18bedce32315a438a94d81cb [file] [log] [blame]
shengfei Xu9b9e5222022-09-30 08:56:21 +00001/*
2 * Copyright (c) 2023, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <assert.h>
8#include <errno.h>
9
10#include <common/debug.h>
11#include <common/runtime_svc.h>
12#include <lib/mmio.h>
13#include <platform_def.h>
14
15#include <plat_sip_calls.h>
16#include <rockchip_sip_svc.h>
17
18uintptr_t rockchip_plat_sip_handler(uint32_t smc_fid,
19 u_register_t x1,
20 u_register_t x2,
21 u_register_t x3,
22 u_register_t x4,
23 void *cookie,
24 void *handle,
25 u_register_t flags)
26{
27 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid);
28 SMC_RET1(handle, SMC_UNK);
29}