xref: /rk3399_ARM-atf/plat/arm/board/fvp/fvp_ide_keymgmt.c (revision 2132c707d73753338ce05f262843a91738177f5e)
1*2132c707SSona Mathew /*
2*2132c707SSona Mathew  * Copyright (c) 2025, Arm Limited and Contributors. All rights reserved.
3*2132c707SSona Mathew  *
4*2132c707SSona Mathew  * SPDX-License-Identifier: BSD-3-Clause
5*2132c707SSona Mathew  */
6*2132c707SSona Mathew 
7*2132c707SSona Mathew #include <errno.h>
8*2132c707SSona Mathew #include <string.h>
9*2132c707SSona Mathew 
10*2132c707SSona Mathew #include <plat/common/platform.h>
11*2132c707SSona Mathew 
12*2132c707SSona Mathew int plat_rmmd_el3_ide_key_program(uint64_t ecam_address, uint64_t root_port_id,
13*2132c707SSona Mathew 				  uint64_t ide_stream_info,
14*2132c707SSona Mathew 				  rp_ide_key_info_t *ide_key_info_ptr, uint64_t request_id,
15*2132c707SSona Mathew 				  uint64_t cookie)
16*2132c707SSona Mathew {
17*2132c707SSona Mathew 	/* placeholder to add further implementation */
18*2132c707SSona Mathew 
19*2132c707SSona Mathew 	return 0;
20*2132c707SSona Mathew 
21*2132c707SSona Mathew }
22*2132c707SSona Mathew 
23*2132c707SSona Mathew int plat_rmmd_el3_ide_key_set_go(uint64_t ecam_address, uint64_t root_port_id,
24*2132c707SSona Mathew 				 uint64_t ide_stream_info, uint64_t request_id,
25*2132c707SSona Mathew 				 uint64_t cookie)
26*2132c707SSona Mathew {
27*2132c707SSona Mathew 	/* placeholder to add further implementation */
28*2132c707SSona Mathew 
29*2132c707SSona Mathew 	return 0;
30*2132c707SSona Mathew 
31*2132c707SSona Mathew }
32*2132c707SSona Mathew 
33*2132c707SSona Mathew int plat_rmmd_el3_ide_key_set_stop(uint64_t ecam_address, uint64_t root_port_id,
34*2132c707SSona Mathew 				   uint64_t ide_stream_info, uint64_t request_id,
35*2132c707SSona Mathew 				   uint64_t cookie)
36*2132c707SSona Mathew {
37*2132c707SSona Mathew 	/* placeholder to add further implementation */
38*2132c707SSona Mathew 
39*2132c707SSona Mathew 	return 0;
40*2132c707SSona Mathew }
41*2132c707SSona Mathew 
42*2132c707SSona Mathew int plat_rmmd_el3_ide_km_pull_response(uint64_t ecam_address, uint64_t root_port_id,
43*2132c707SSona Mathew 				   uint64_t *req_resp, uint64_t *request,
44*2132c707SSona Mathew 				   uint64_t *cookie)
45*2132c707SSona Mathew {
46*2132c707SSona Mathew 	/* placeholder to add further implementation */
47*2132c707SSona Mathew 
48*2132c707SSona Mathew 	return E_RMM_UNK;
49*2132c707SSona Mathew }
50