Skip to content

Commit

Permalink
bios: litespi: add newline to debug output
Browse files Browse the repository at this point in the history
add newline to debug output

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
  • Loading branch information
maass-hamburg committed Oct 24, 2024
1 parent 63fa4fd commit d7bf75a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litex/soc/software/liblitespi/spiflash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand All @@ -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],
Expand Down

0 comments on commit d7bf75a

Please sign in to comment.