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?
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.
AR# 32751 | |
---|---|
Date | 05/23/2014 |
Status | Archive |
Type | General Article |