devcfg; Removed IAR compilation errors in example.
This patch removes IAR compilation error in example by removing the u32 typecast since it is expecting (void *) Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
This commit is contained in:
parent
fc1765fd83
commit
4b9197d617
1 changed files with 2 additions and 2 deletions
|
@ -381,8 +381,8 @@ int XDcfg_GetConfigReg(XDcfg *DcfgInstancePtr, u32 ConfigReg, u32 *RegData)
|
|||
CmdBuf[CmdIndex++] = 0x20000000; /* Type 1 NOOP Word 0 */
|
||||
CmdBuf[CmdIndex++] = 0x20000000; /* Type 1 NOOP Word 0 */
|
||||
|
||||
XDcfg_Transfer(&DcfgInstance, (u32)(&CmdBuf[0]),
|
||||
CmdIndex, (u32)RegData, 1, XDCFG_PCAP_READBACK);
|
||||
XDcfg_Transfer(&DcfgInstance, (&CmdBuf[0]),
|
||||
CmdIndex, RegData, 1, XDCFG_PCAP_READBACK);
|
||||
|
||||
/* Poll IXR_DMA_DONE */
|
||||
IntrStsReg = XDcfg_IntrGetStatus(DcfgInstancePtr);
|
||||
|
|
Loading…
Add table
Reference in a new issue