mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
509d4b9545
Xilinx ATF extending options for passing images from BL2(FSBL) to BL31. U-Boot SPL is FSBL replacement that's why it should generate handoff structure the same. Support only one entry which is U-Boot in EL2 itself. When FIT image is adopted structure generate should be data driven. Currently ATF is placing this structure at the beggining of OCM which is rewriting early parts of ATF which should be unused at that time. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
26 lines
525 B
C
26 lines
525 B
C
/*
|
|
* (C) Copyright 2014 - 2015 Xilinx, Inc.
|
|
* Michal Simek <michal.simek@xilinx.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _ASM_ARCH_SYS_PROTO_H
|
|
#define _ASM_ARCH_SYS_PROTO_H
|
|
|
|
#ifndef CONFIG_CLK_ZYNQMP
|
|
/* Setup clk for network */
|
|
static inline void zynq_slcr_gem_clk_setup(u32 gem_id, unsigned long clk_rate)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
int zynq_slcr_get_mio_pin_status(const char *periph);
|
|
|
|
unsigned int zynqmp_get_silicon_version(void);
|
|
|
|
void psu_init(void);
|
|
|
|
void handoff_setup(void);
|
|
|
|
#endif /* _ASM_ARCH_SYS_PROTO_H */
|