mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 00:48:52 +09:00
![Siva Durga Prasad Paladugu](/assets/img/avatar_default.png)
This patch adds PL bitstream load support for Versal platform. The PL bitstream is loaded by making an SMC to ATF which in turn communicates with platform firmware which configures and loads PL bitstream on to PL. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
21 lines
428 B
C
21 lines
428 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* (C) Copyright 2019 Xilinx, Inc,
|
|
* Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
|
|
*/
|
|
|
|
#ifndef _VERSALPL_H_
|
|
#define _VERSALPL_H_
|
|
|
|
#include <xilinx.h>
|
|
|
|
#define VERSAL_PM_LOAD_PDI 0x701
|
|
#define VERSAL_PM_PDI_TYPE 0xF
|
|
|
|
extern struct xilinx_fpga_op versal_op;
|
|
|
|
#define XILINX_VERSAL_DESC \
|
|
{ xilinx_versal, csu_dma, 1, &versal_op, 0, &versal_op }
|
|
|
|
#endif /* _VERSALPL_H_ */
|