xref: /rk3399_ARM-atf/bl2/bl2_private.h (revision 42019bf4e93a111984af9dc44608d8d5203a3b1d)
15b827a8fSDan Handley /*
2*42019bf4SYatharth Kochar  * Copyright (c) 2013-2016, ARM Limited and Contributors. All rights reserved.
35b827a8fSDan Handley  *
45b827a8fSDan Handley  * Redistribution and use in source and binary forms, with or without
55b827a8fSDan Handley  * modification, are permitted provided that the following conditions are met:
65b827a8fSDan Handley  *
75b827a8fSDan Handley  * Redistributions of source code must retain the above copyright notice, this
85b827a8fSDan Handley  * list of conditions and the following disclaimer.
95b827a8fSDan Handley  *
105b827a8fSDan Handley  * Redistributions in binary form must reproduce the above copyright notice,
115b827a8fSDan Handley  * this list of conditions and the following disclaimer in the documentation
125b827a8fSDan Handley  * and/or other materials provided with the distribution.
135b827a8fSDan Handley  *
145b827a8fSDan Handley  * Neither the name of ARM nor the names of its contributors may be used
155b827a8fSDan Handley  * to endorse or promote products derived from this software without specific
165b827a8fSDan Handley  * prior written permission.
175b827a8fSDan Handley  *
185b827a8fSDan Handley  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
195b827a8fSDan Handley  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
205b827a8fSDan Handley  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
215b827a8fSDan Handley  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
225b827a8fSDan Handley  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
235b827a8fSDan Handley  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
245b827a8fSDan Handley  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
255b827a8fSDan Handley  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
265b827a8fSDan Handley  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
275b827a8fSDan Handley  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
285b827a8fSDan Handley  * POSSIBILITY OF SUCH DAMAGE.
295b827a8fSDan Handley  */
305b827a8fSDan Handley 
315b827a8fSDan Handley #ifndef __BL2_PRIVATE_H__
325b827a8fSDan Handley #define __BL2_PRIVATE_H__
335b827a8fSDan Handley 
345b827a8fSDan Handley /******************************************
35*42019bf4SYatharth Kochar  * Forward declarations
36*42019bf4SYatharth Kochar  *****************************************/
37*42019bf4SYatharth Kochar struct entry_point_info;
38*42019bf4SYatharth Kochar 
39*42019bf4SYatharth Kochar /******************************************
405b827a8fSDan Handley  * Function prototypes
415b827a8fSDan Handley  *****************************************/
42c6bc0710SDan Handley void bl2_arch_setup(void);
43*42019bf4SYatharth Kochar struct entry_point_info *bl2_load_images(void);
445b827a8fSDan Handley 
455b827a8fSDan Handley #endif /* __BL2_PRIVATE_H__ */
46