1 /*
2  * Copyright (c) 2022, Arm Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef TF_A_PLAT_COMMON_PLATFORM_H
8 #define TF_A_PLAT_COMMON_PLATFORM_H
9 
10 #include <stdint.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 /**
17  * Overrides the tf-a version to map the TF-A platform interface to the TS
18  * platform interface.
19  */
20 int plat_get_image_source(
21 	unsigned int image_id,
22 	uintptr_t *dev_handle,
23 	uintptr_t *image_spec);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif /* TF_A_PLAT_COMMON_PLATFORM_H */
30