blob: 03fee88cbc7f8a6781b79725d6748df17bf2d2f5 [file] [log] [blame]
Caesar Wangc1bf6462016-06-21 14:44:01 +08001/*
2 * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
3 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Caesar Wangc1bf6462016-06-21 14:44:01 +08005 */
6
7#include <debug.h>
8#include <mmio.h>
9#include <plat_sip_calls.h>
10#include <rockchip_sip_svc.h>
11#include <runtime_svc.h>
12
13uint64_t rockchip_plat_sip_handler(uint32_t smc_fid,
14 uint64_t x1,
15 uint64_t x2,
16 uint64_t x3,
17 uint64_t x4,
18 void *cookie,
19 void *handle,
20 uint64_t flags)
21{
Jonathan Wrightff957ed2018-03-14 15:24:00 +000022 ERROR("%s: unhandled SMC (0x%x)\n", __func__, smc_fid);
23 SMC_RET1(handle, SMC_UNK);
Caesar Wangc1bf6462016-06-21 14:44:01 +080024}