qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] CFI: Fix AMD erase support


From: Jean-Christophe PLAGNIOL-VILLARD
Subject: [Qemu-devel] Re: [PATCH] CFI: Fix AMD erase support
Date: Thu, 13 Mar 2008 16:54:04 +0100
User-agent: Mutt/1.5.16 (2007-06-09)

No review?
On 16:57 Sun 24 Feb     , Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <address@hidden>
> 
> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]