mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-04 18:40:42 +09:00
f0b619ec29
Extract ps7_* from spl code to prepare for extension. And also return value. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
28 lines
512 B
C
28 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;
|
|
}
|