mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
liblitedram/sdram_rcd: fix no I2C case
Remove send_stop parameter from the no-I2C case as well. Signed-off-by: Michal Sieron <msieron@antmicro.com>
This commit is contained in:
parent
f84ecaf707
commit
23d84bf5f5
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ bool sdram_read_spd(uint8_t spd, uint16_t addr, uint8_t *buf, uint16_t len) {
|
|||
return ok;
|
||||
}
|
||||
#else /* no CSR_SDRAM_BASE && CONFIG_HAS_I2C */
|
||||
bool sdram_read_spd(uint8_t spd, uint16_t addr, uint8_t *buf, uint16_t len, bool send_stop) {
|
||||
bool sdram_read_spd(uint8_t spd, uint16_t addr, uint8_t *buf, uint16_t len) {
|
||||
return false;
|
||||
}
|
||||
#endif /* CSR_SDRAM_BASE && CONFIG_HAS_I2C */
|
||||
|
|
Loading…
Reference in a new issue