From patchwork Fri Jan 15 22:38:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 8044851 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 441A6BEEE5 for ; Fri, 15 Jan 2016 22:41:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ABFFB2037E for ; Fri, 15 Jan 2016 22:41:53 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 08DAF20379 for ; Fri, 15 Jan 2016 22:41:53 +0000 (UTC) Received: from localhost ([::1]:49231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKD44-0003SX-Ew for patchwork-qemu-devel@patchwork.kernel.org; Fri, 15 Jan 2016 17:41:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKD2w-0001hC-In for qemu-devel@nongnu.org; Fri, 15 Jan 2016 17:40:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKD2t-0007CV-9I for qemu-devel@nongnu.org; Fri, 15 Jan 2016 17:40:42 -0500 Received: from mail-sn1nam02on0051.outbound.protection.outlook.com ([104.47.36.51]:14000 helo=NAM02-SN1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKD2t-0007CQ-4l for qemu-devel@nongnu.org; Fri, 15 Jan 2016 17:40:39 -0500 Received: from SN1NAM02FT011.eop-nam02.prod.protection.outlook.com (10.152.72.52) by SN1NAM02HT147.eop-nam02.prod.protection.outlook.com (10.152.72.155) with Microsoft SMTP Server (TLS) id 15.1.355.15; Fri, 15 Jan 2016 22:40:37 +0000 Authentication-Results: spf=fail (sender IP is 149.199.60.96) smtp.mailfrom=xilinx.com; linaro.org; dkim=none (message not signed) header.d=none; linaro.org; dmarc=none action=none header.from=xilinx.com; Received-SPF: Fail (protection.outlook.com: domain of xilinx.com does not designate 149.199.60.96 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.96; helo=xsj-tvapsmtpgw01; Received: from xsj-tvapsmtpgw01 (149.199.60.96) by SN1NAM02FT011.mail.protection.outlook.com (10.152.72.82) with Microsoft SMTP Server (TLS) id 15.1.355.15 via Frontend Transport; Fri, 15 Jan 2016 22:40:37 +0000 Received: from 172-16-1-203.xilinx.com ([172.16.1.203]:55745 helo=xsj-tvapsmtp02.xilinx.com) by xsj-tvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1aKD2q-0006Px-Do; Fri, 15 Jan 2016 14:40:36 -0800 Received: from [127.0.0.1] (port=34731 helo=tsj-smtp-dlp1.xlnx.xilinx.com) by xsj-tvapsmtp02.xilinx.com with esmtp (Exim 4.63) (envelope-from ) id 1aKD2q-0007pl-8Y; Fri, 15 Jan 2016 14:40:36 -0800 Received: from xsj-tvapsmtp02 (xsj-tvapsmtp02.xilinx.com [172.16.1.203]) by tsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id u0FMZ4El031352; Fri, 15 Jan 2016 14:35:04 -0800 Received: from [172.19.74.182] (port=49648 helo=xsjalistai50.xlnx.xilinx.com) by xsj-tvapsmtp02 with esmtp (Exim 4.63) (envelope-from ) id 1aKD2p-0007pi-K2; Fri, 15 Jan 2016 14:40:35 -0800 From: Alistair Francis To: Date: Fri, 15 Jan 2016 14:38:12 -0800 Message-ID: <99548a40a3a131f39da26c8b3045f2114f4b21a4.1452896266.git.alistair.francis@xilinx.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: References: X-RCIS-Action: ALLOW X-TM-AS-MML: disable X-TM-AS-Product-Ver: IMSS-7.1.0.1679-8.0.0.1202-22054.006 X-TM-AS-Result: No--5.687-7.0-31-10 X-imss-scan-details: No--5.687-7.0-31-10 X-TMASE-MatchedRID: k8Cd32tj8sGziyjvB78jHhWCVBr+Ay986SXuwUgGH0iJNCpIh39qP/lY oV6p/cSxZyb5LjAMMwGQUqHBZzt8g0o+JcjZD/anhCecAVGCOf06Zh+V/s+OfZsoi2XrUn/Js98 n9dYnJNNQSFbL1bvQASAHAopEd76vtaSeuyJua6VwfpJF2NfMYByuFrehQFSKsAJijNEy/YPe1k h2Cc2LNA== X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.96; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(76176999)(36756003)(106466001)(1096002)(85426001)(229853001)(50466002)(6806005)(50226001)(110136002)(5008740100001)(81156007)(48376002)(1220700001)(77096005)(86362001)(586003)(4326007)(50986999)(189998001)(5001960100002)(2950100001)(87936001)(105606002)(47776003)(33646002)(71366001)(5003600100002)(118296001)(11100500001)(19580395003)(2906002)(19580405001)(5003940100001)(64026002)(92566002)(2351001)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1NAM02HT147; H:xsj-tvapsmtpgw01; FPR:; SPF:Fail; PTR:unknown-60-96.xilinx.com; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: e5d67f12-1183-446b-7887-08d31dfce36b X-Exchange-Antispam-Report-Test: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:SN1NAM02HT147; UriScan:(192813158149592); X-Microsoft-Antispam-PRVS: <97f09a2ddc9b43f5a5bb6dc1ca7f645b@SN1NAM02HT147.eop-nam02.prod.protection.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(13015025)(5005006)(13017025)(13018025)(10201501046)(3002001); SRVR:SN1NAM02HT147; BCL:0; PCL:0; RULEID:; SRVR:SN1NAM02HT147; X-Forefront-PRVS: 08220FA8D6 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jan 2016 22:40:37.2088 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.96]; Helo=[xsj-tvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM02HT147 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.36.51 Cc: peter.maydell@linaro.org, crosthwaitepeter@gmail.com, alistair.francis@xilinx.com Subject: [Qemu-devel] [PATCH v7 2/6] m25p80.c: Add sst25wf080 SPI flash device 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the sst25wf080 SPI flash device. Signed-off-by: Alistair Francis Reviewed-by: Peter Crosthwaite Signed-off-by: Peter Crosthwaite --- hw/block/m25p80.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c index efc43dd..7b9f97c 100644 --- a/hw/block/m25p80.c +++ b/hw/block/m25p80.c @@ -163,6 +163,7 @@ static const FlashPartInfo known_devices[] = { { INFO("sst25wf010", 0xbf2502, 0, 64 << 10, 2, ER_4K) }, { INFO("sst25wf020", 0xbf2503, 0, 64 << 10, 4, ER_4K) }, { INFO("sst25wf040", 0xbf2504, 0, 64 << 10, 8, ER_4K) }, + { INFO("sst25wf080", 0xbf2505, 0, 64 << 10, 16, ER_4K) }, /* ST Microelectronics -- newer production may have feature updates */ { INFO("m25p05", 0x202010, 0, 32 << 10, 2, 0) },