xref: /rk3399_ARM-atf/plat/nxp/common/img_loadr/load_img.h (revision 9719e19a977df3e8bf7567b3c0e1d6b2ebc5b46f)
1*ed7cf3bfSPankaj Gupta /*
2*ed7cf3bfSPankaj Gupta  * Copyright 2018-2020 NXP
3*ed7cf3bfSPankaj Gupta  *
4*ed7cf3bfSPankaj Gupta  * SPDX-License-Identifier: BSD-3-Clause
5*ed7cf3bfSPankaj Gupta  *
6*ed7cf3bfSPankaj Gupta  */
7*ed7cf3bfSPankaj Gupta 
8*ed7cf3bfSPankaj Gupta #ifndef LOAD_IMAGE_H
9*ed7cf3bfSPankaj Gupta #define LOAD_IMAGE_H
10*ed7cf3bfSPankaj Gupta 
11*ed7cf3bfSPankaj Gupta int load_img(unsigned int image_id, uintptr_t *image_base,
12*ed7cf3bfSPankaj Gupta 		      uint32_t *image_size);
13*ed7cf3bfSPankaj Gupta 
14*ed7cf3bfSPankaj Gupta #endif /* LOAD_IMAGE_H */
15