mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
arm64: versal: fpga: Add PL bit stream load support
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>
This commit is contained in:
committed by
Michal Simek
parent
13210cd951
commit
26e054c943
20
include/versalpl.h
Normal file
20
include/versalpl.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/* 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_ */
|
Reference in New Issue
Block a user