Main

11.1 EDK, MPMC v4.00.a - error: 'XPAR_DDR2_SDRAM_MPMC_HIGHADDR' undeclared here (not in a function)*

AR# 32751

Search For Another Answer

Topic EDK-IP-Memory-MPMC
Last Updated 05/22/2009
Status Active
Description

Keywords: xmpmc_g.c, 27, C_ALL_PIMS_SHARE_ADDRESSES

When running libgen with a MPMC driver with the MHS parameter C_ALL_PIMS_SHARE_ADDRESSES = 0, the following error occurs:
Compiling mpmc
xmpmc_g.c:27: error: 'XPAR_DDR2_SDRAM_MPMC_HIGHADDR' undeclared here (not in a function)*
make[1]: *** [libs] Error 1

How do I resolve this issue?

Solution

It is possible to workaround this issue by manually editing the MHS to include C_MPMC_BASEADDR and C_MPMC_HIGHADDR. Alternatively, changing the C_ALL_PIMS_SHARE_ADDRESSES to '1' and setting the required C_MPMC_BASEADDR and C_MPMC_HIGHADDR parameters will also resolve this error.

This issue will be partially fixed in EDK 11.2 with MPMC v5.02.a by using C_PIM0_BASEADDR and C_PIM0_HIGHADDR when using C_ALL_PIMS_SHARE_ADDRESSES = 0.

A more complete fix is currently planned with the newest MPMC released in EDK 11.3.
 
 
/csi/footer.htm