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:
Michal Sieron 2023-02-16 15:40:07 +01:00
parent f84ecaf707
commit 23d84bf5f5
1 changed files with 1 additions and 1 deletions

View File

@ -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 */