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],