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
|
@ -54,7 +54,7 @@ bool sdram_read_spd(uint8_t spd, uint16_t addr, uint8_t *buf, uint16_t len) {
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
#else /* no CSR_SDRAM_BASE && CONFIG_HAS_I2C */
|
#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;
|
return false;
|
||||||
}
|
}
|
||||||
#endif /* CSR_SDRAM_BASE && CONFIG_HAS_I2C */
|
#endif /* CSR_SDRAM_BASE && CONFIG_HAS_I2C */
|
||||||
|
|
Loading…
Reference in New Issue