From patchwork Wed May 29 13:58:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ed Maste X-Patchwork-Id: 247269 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A88602C03F9 for ; Thu, 30 May 2013 00:00:20 +1000 (EST) Received: from localhost ([::1]:52917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhgvK-0005pu-Mp for incoming@patchwork.ozlabs.org; Wed, 29 May 2013 10:00:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uhguy-0005pD-Bj for qemu-devel@nongnu.org; Wed, 29 May 2013 09:59:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uhgul-0001XY-N3 for qemu-devel@nongnu.org; Wed, 29 May 2013 09:59:56 -0400 Received: from [216.171.111.232] (port=36292 helo=freebsd.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uhgul-0001XH-HD for qemu-devel@nongnu.org; Wed, 29 May 2013 09:59:43 -0400 Received: from emaste (uid 1001) (envelope-from emaste@freebsd.org) id 9cc73 by freebsd.org (DragonFly Mail Agent 1); Wed, 29 May 2013 09:59:42 -0400 From: Ed Maste To: qemu-devel@nongnu.org Date: Wed, 29 May 2013 09:58:29 -0400 Message-Id: <1369835909-35664-1-git-send-email-emaste@freebsd.org> X-Mailer: git-send-email 1.7.11.5 X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 216.171.111.232 Cc: qemu-trivial@nongnu.org, Ed Maste Subject: [Qemu-devel] [PATCH] m25p80: Add Micron n25q032a X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Based on the datasheet at http://www.micron.com/~/media/Documents/Products/Data%20Sheet/NOR%20Flash/Serial%20NOR/N25Q/n25q_32mb_1_8v_65nm.pdf Signed-off-by: Ed Maste --- hw/block/m25p80.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c index 759c84d..a927a6b 100644 --- a/hw/block/m25p80.c +++ b/hw/block/m25p80.c @@ -123,6 +123,7 @@ static const FlashPartInfo known_devices[] = { { INFO("mx25l25655e", 0xc22619, 0, 64 << 10, 512, 0) }, /* Micron */ + { INFO("n25q032a", 0x20bb16, 0, 64 << 10, 64, ER_4K) }, { INFO("n25q128a11", 0x20bb18, 0, 64 << 10, 256, 0) }, { INFO("n25q128a13", 0x20ba18, 0, 64 << 10, 256, 0) }, { INFO("n25q256a", 0x20ba19, 0, 64 << 10, 512, ER_4K) },