mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-02 09:36:15 +00:00

Extract ps7_* from spl code to prepare for extension. And also return value. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
27 lines
512 B
C
27 lines
512 B
C
/*
|
|
* (c) Copyright 2010-2017 Xilinx, Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <asm/io.h>
|
|
#include <asm/spl.h>
|
|
#include <asm/arch/ps7_init_gpl.h>
|
|
|
|
__weak int ps7_init(void)
|
|
{
|
|
/*
|
|
* This function is overridden by the one in
|
|
* board/xilinx/zynq/(platform)/ps7_init_gpl.c, if it exists.
|
|
*/
|
|
return 0;
|
|
}
|
|
|
|
__weak int ps7_post_config(void)
|
|
{
|
|
/*
|
|
* This function is overridden by the one in
|
|
* board/xilinx/zynq/(platform)/ps7_init_gpl.c, if it exists.
|
|
*/
|
|
return 0;
|
|
}
|