From 23d84bf5f56cb24bc75434e6a3224c4287e033ce Mon Sep 17 00:00:00 2001 From: Michal Sieron Date: Thu, 16 Feb 2023 15:40:07 +0100 Subject: [PATCH] liblitedram/sdram_rcd: fix no I2C case Remove send_stop parameter from the no-I2C case as well. Signed-off-by: Michal Sieron --- litex/soc/software/liblitedram/sdram_spd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/software/liblitedram/sdram_spd.c b/litex/soc/software/liblitedram/sdram_spd.c index b0f94407a..912e73225 100644 --- a/litex/soc/software/liblitedram/sdram_spd.c +++ b/litex/soc/software/liblitedram/sdram_spd.c @@ -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 */