software/liblitedram/sdram.c: add ifdef on MPR functions.

This commit is contained in:
Florent Kermarrec 2020-09-05 11:37:07 +02:00
parent f7b6dd05ae
commit c247814ed4
1 changed files with 4 additions and 0 deletions

View File

@ -873,6 +873,8 @@ int sdrinit(void)
/* MPR access */
/*-----------------------------------------------------------------------*/
#ifdef SDRAM_PHY_MODULES
#define MPR0_SEL (0 << 0)
#define MPR1_SEL (1 << 0)
#define MPR2_SEL (2 << 0)
@ -936,3 +938,5 @@ void sdrmpr(void)
}
#endif
#endif