arm: zynq: Move ps7_* to separate file
[oweals/u-boot.git] / arch / arm / mach-zynq / ps7_spl_init.c
1 /*
2  * (c) Copyright 2010-2017 Xilinx, Inc. All rights reserved.
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <asm/io.h>
8 #include <asm/spl.h>
9 #include <asm/arch/ps7_init_gpl.h>
10
11 __weak int ps7_init(void)
12 {
13         /*
14          * This function is overridden by the one in
15          * board/xilinx/zynq/(platform)/ps7_init_gpl.c, if it exists.
16          */
17         return 0;
18 }
19
20 __weak int ps7_post_config(void)
21 {
22         /*
23          * This function is overridden by the one in
24          * board/xilinx/zynq/(platform)/ps7_init_gpl.c, if it exists.
25          */
26         return 0;
27 }