* [Qemu-devel] [PATCH] CFI: Fix AMD erase support
@ 2008-02-24 15:57 Jean-Christophe PLAGNIOL-VILLARD
2008-03-13 15:54 ` [Qemu-devel] " Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2008-02-24 15:57 UTC (permalink / raw)
To: qemu-devel; +Cc: Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c
index b3a8a8e..c360179 100644
--- a/hw/pflash_cfi01.c
+++ b/hw/pflash_cfi01.c
@@ -275,7 +275,7 @@ static void pflash_write (pflash_t *pfl, target_ulong offset, uint32_t value,
if (cmd == 0xd0) { /* confirm */
pfl->wcycle = 1;
pfl->status |= 0x80;
- } if (cmd == 0xff) { /* read array mode */
+ } else if (cmd == 0xff) { /* read array mode */
goto reset_flash;
} else
goto error_flash;
--
1.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Qemu-devel] Re: [PATCH] CFI: Fix AMD erase support
2008-02-24 15:57 [Qemu-devel] [PATCH] CFI: Fix AMD erase support Jean-Christophe PLAGNIOL-VILLARD
@ 2008-03-13 15:54 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2008-03-13 15:54 UTC (permalink / raw)
To: qemu-devel
No review?
On 16:57 Sun 24 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
>
> diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c
> index b3a8a8e..c360179 100644
> --- a/hw/pflash_cfi01.c
> +++ b/hw/pflash_cfi01.c
> @@ -275,7 +275,7 @@ static void pflash_write (pflash_t *pfl, target_ulong offset, uint32_t value,
> if (cmd == 0xd0) { /* confirm */
> pfl->wcycle = 1;
> pfl->status |= 0x80;
> - } if (cmd == 0xff) { /* read array mode */
> + } else if (cmd == 0xff) { /* read array mode */
> goto reset_flash;
> } else
> goto error_flash;
> --
> 1.5.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-13 16:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-24 15:57 [Qemu-devel] [PATCH] CFI: Fix AMD erase support Jean-Christophe PLAGNIOL-VILLARD
2008-03-13 15:54 ` [Qemu-devel] " Jean-Christophe PLAGNIOL-VILLARD
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).