From 05dd84a5d6026f9759cfed25e20998ebb4c4613a Mon Sep 17 00:00:00 2001 From: awaittrot <189866689+awaittrot@users.noreply.github.com> Date: Wed, 27 Nov 2024 22:18:24 +0900 Subject: [PATCH] liblitespi: fix typo --- litex/soc/software/liblitespi/spiram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/software/liblitespi/spiram.c b/litex/soc/software/liblitespi/spiram.c index 7e49ab2a8..9de0bb5f6 100644 --- a/litex/soc/software/liblitespi/spiram.c +++ b/litex/soc/software/liblitespi/spiram.c @@ -98,7 +98,7 @@ static void spiram_master_write(uint32_t val, size_t len, size_t width, uint32_t while (!spiram_rx_ready()); /* Clear RX queue. */ - spiflash_core_master_rxtx_read(); + spiram_core_master_rxtx_read(); /* Clear CS. */ spiram_core_master_cs_write(0);