mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00
Tiny fix for a small fix
There was one line break added too much in the previous commit, sorry. the probing functions need to output at least one '\n' for satisfactory output. that means even in error cases they have to do that. OTOH they should not output a sequence of "\n\n" because it would distort the verbose probing output with empty lines. Corresponding to flashrom svn r1322. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
parent
355cbfdbef
commit
db45ab5eac
4
spi25.c
4
spi25.c
@ -267,10 +267,8 @@ int probe_spi_res1(struct flashchip *flash)
|
|||||||
|
|
||||||
msg_cdbg("%s: id 0x%x\n", __func__, id2);
|
msg_cdbg("%s: id 0x%x\n", __func__, id2);
|
||||||
|
|
||||||
if (id2 != flash->model_id) {
|
if (id2 != flash->model_id)
|
||||||
msg_cdbg("\n");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
|
||||||
|
|
||||||
/* Print the status register to tell the
|
/* Print the status register to tell the
|
||||||
* user about possible write protection.
|
* user about possible write protection.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user