rockchip: support plat SIP runtime service
authorCaesar Wang <wxt@rock-chips.com>
Tue, 21 Jun 2016 06:44:01 +0000 (14:44 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Mon, 18 Jul 2016 11:45:03 +0000 (19:45 +0800)
commit1760db680d131d1946e761043c825514c1b26b8f
treed81a6f37304da8de55e13141e0c62393da3945c1
parentf9455cea8c38f36f12c524226ccfae2ed2dabf87
rockchip: support plat SIP runtime service

Software executing in the normal world and in the trusted world at
exception levels lower than EL3 will request runtime services using the
SMC instruction.

See the documentation here:
https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/
rt-svc-writers-guide.md

This to be implemented as an EL3 Runtime Service in rockchip BL31
platform port, using the "SiP Service Call" range as specified in the
SMC Calling Convention.
This doesn't support any SMC yet, we will support it in later.

Change-Id: I0a638dd0b653c28b08f79d89f77ed7c69864017d
plat/rockchip/common/include/rockchip_sip_svc.h [new file with mode: 0644]
plat/rockchip/common/rockchip_sip_svc.c [new file with mode: 0644]
plat/rockchip/rk3368/include/plat_sip_calls.h [new file with mode: 0644]
plat/rockchip/rk3368/plat_sip_calls.c [new file with mode: 0644]
plat/rockchip/rk3368/platform.mk
plat/rockchip/rk3399/include/plat_sip_calls.h [new file with mode: 0644]
plat/rockchip/rk3399/plat_sip_calls.c [new file with mode: 0644]
plat/rockchip/rk3399/platform.mk