software/liblitedram/sdram.c: add ifdef on MPR functions.
This commit is contained in:
parent
f7b6dd05ae
commit
c247814ed4
|
@ -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 New Issue