mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
bios/cmds/cmd_litedram: Fix sdram_spd_handler compilation condition.
This commit is contained in:
parent
a56a178768
commit
c054dc13d9
1 changed files with 2 additions and 1 deletions
|
@ -395,7 +395,8 @@ define_command(sdram_mr_write, sdram_mr_write_handler, "Write SDRAM Mode Registe
|
|||
* SPD address is a 3-bit address defined by the pins A0, A1, A2.
|
||||
*
|
||||
*/
|
||||
#ifdef CONFIG_HAS_I2C
|
||||
#if defined(CSR_SDRAM_BASE) && defined(CONFIG_HAS_I2C)
|
||||
|
||||
static void sdram_spd_handler(int nb_params, char **params)
|
||||
{
|
||||
char *c;
|
||||
|
|
Loading…
Reference in a new issue