From d7bf75a75c95e6a1742959aff0981d66a685ee71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fin=20Maa=C3=9F?= Date: Thu, 24 Oct 2024 15:12:12 +0200 Subject: [PATCH] bios: litespi: add newline to debug output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add newline to debug output Signed-off-by: Fin Maaß --- litex/soc/software/liblitespi/spiflash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/software/liblitespi/spiflash.c b/litex/soc/software/liblitespi/spiflash.c index f62138389..fd9f2b954 100644 --- a/litex/soc/software/liblitespi/spiflash.c +++ b/litex/soc/software/liblitespi/spiflash.c @@ -156,7 +156,7 @@ static uint32_t spiflash_read_id_register(void) transfer_cmd(w_buf, buf, 4); #ifdef SPIFLASH_DEBUG - printf("[ID: %02x %02x %02x %02x]", buf[0], buf[1], buf[2], buf[3]); + printf("[ID: %02x %02x %02x %02x]\n", buf[0], buf[1], buf[2], buf[3]); #endif /* FIXME normally the status should be in buf[1], @@ -173,7 +173,7 @@ static uint32_t spiflash_read_status_register(void) transfer_cmd(w_buf, buf, 4); #ifdef SPIFLASH_DEBUG - printf("[SR: %02x %02x %02x %02x]", buf[0], buf[1], buf[2], buf[3]); + printf("[SR: %02x %02x %02x %02x]\n", buf[0], buf[1], buf[2], buf[3]); #endif /* FIXME normally the status should be in buf[1],