xilloader
Vitis Drivers API Documentation
xloader_ddr.c File Reference

Overview

This is the file which contains DDR init and copy functions related code for the platform loader.

MODIFICATION HISTORY:
Ver   Who  Date        Changes


1.00 kc 03/12/2019 Initial release 1.01 kc 09/04/2019 Added support to use non blocking DMA in DdrCopy function 1.02 bsv 04/09/2020 Code clean up of Xilloader 1.03 skd 07/14/2020 Added 64bit support for DDR source address bsv 07/29/2020 Added provision to use PMCDMA0 for Ddr Copy skd 07/29/2020 Updated device copy macros bsv 09/30/2020 Added parallel DMA support for SBI, JTAG, SMAP and PCIE boot modes bsv 10/13/2020 Code clean up 1.04 bsv 08/31/2021 Code clean up 1.05 bsv 10/26/2021 Code clean up bm 07/06/2022 Refactor versal and versal_net code is 09/12/2022 Remove PM_CAP_SECURE capability when requesting DDR_0 ng 03/30/2023 Updated algorithm and return values in doxygen comments dd 09/11/2023 MISRA-C violation Rule 17.8 fixed

 

Functions

int XLoader_DdrInit (u32 DeviceFlags)
 This function is used to initialize for DDR init. More...
 
int XLoader_DdrCopy (u64 SrcAddr, u64 DestAddr, u32 Length, u32 FlagsVal)
 This function is used to copy the data from DDR to destination address. More...
 
int XLoader_DdrRelease (void)
 This function releases control of DDR. More...