mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
software/liblitedram/sdram.c: add ifdef on MPR functions.
This commit is contained in:
parent
f7b6dd05ae
commit
c247814ed4
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue