From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZq5G-0000Do-Jk for qemu-devel@nongnu.org; Thu, 13 Mar 2008 12:15:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZq5E-0000Bh-PY for qemu-devel@nongnu.org; Thu, 13 Mar 2008 12:15:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZq5E-0000BM-JC for qemu-devel@nongnu.org; Thu, 13 Mar 2008 12:15:08 -0400 Received: from 30.mail-out.ovh.net ([213.186.62.213]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JZq5E-0003z2-86 for qemu-devel@nongnu.org; Thu, 13 Mar 2008 12:15:08 -0400 Date: Thu, 13 Mar 2008 16:54:04 +0100 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20080313155404.GA1766@game.jcrosoft.org> References: <1203868673-11489-1-git-send-email-plagnioj@jcrosoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1203868673-11489-1-git-send-email-plagnioj@jcrosoft.com> Subject: [Qemu-devel] Re: [PATCH] CFI: Fix AMD erase support Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org No review? On 16:57 Sun 24 Feb , Jean-Christophe PLAGNIOL-VILLARD wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > 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