xref: /rk3399_ARM-atf/plat/arm/board/fvp/trp/test_ide_km_interface.c (revision ec56d5951f03bab04a23c83288da527c6c3499dc)
1 /*
2  * Copyright (c) 2025, Arm Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include <common/debug.h>
8 #include <plat/common/platform.h>
9 #include <services/trp/platform_trp.h>
10 
11 #include <platform_def.h>
12 
13 /*
14  * Helper function for ecam address and root port ID
15  *
16  */
trp_get_test_rootport(uint64_t * ecam_address,uint64_t * rp_id)17 uint64_t trp_get_test_rootport(uint64_t *ecam_address, uint64_t *rp_id)
18 {
19 
20 	*ecam_address = 0xE001C000;
21 	*rp_id = 0x001C0001;
22 
23 	return 0;
24 }
25 
26