From patchwork Sat Jan 12 13:55:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TcOhdMOpIEt1a3Jp?= X-Patchwork-Id: 1023908 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (helo) smtp.helo=coreboot.org (client-ip=78.46.105.101; helo=coreboot.org; envelope-from=flashrom-bounces@flashrom.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mkukri.xyz Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=servermx.com header.i=@servermx.com header.b="TaRKwTx7"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=servermx.com header.i=@servermx.com header.b="TaRKwTx7"; dkim-atps=neutral Received: from coreboot.org (coreboot.org [78.46.105.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43cLpJ3Vq5z9s9h for ; Sun, 13 Jan 2019 00:55:03 +1100 (AEDT) Received: from [172.30.0.99] (mailu_mailman-core_1.mailu_default [172.30.0.99]) by coreboot.org (Postfix) with ESMTP id DD9161062259; Sat, 12 Jan 2019 13:54:59 +0000 (UTC) Received: from smtp1.servermx.com (smtp1.servermx.com [134.19.178.79]) by coreboot.org (Postfix) with ESMTP id 1FBCF1062217 for ; Sat, 12 Jan 2019 13:54:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=servermx.com; s=servermx; h=Content-Type:MIME-Version:Date:Message-ID: Subject:From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FGAop0mrP5knAxiTQTu96Vrulsi6VyhWP74quYGwUXk=; b=TaRKwTx7Nrbq+2ZbxFm4AmZRci BdzOL5l6JuZ0aWdadgjsGh6VU3nn2OGlS85KBqt2MOaMl8/4pPAMi5138dLs9OGrX1g8kKfx3QeiH 8LrApWH10wQQBgmqk34kchy21iIQwwmbanjkoz8DAQsB+eeeHEpkllFUCHYApfKJ0IVA=; Received: by exim4; Sat, 12 Jan 2019 14:54:58 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=servermx.com; s=servermx; h=Content-Type:MIME-Version:Date:Message-ID: Subject:From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FGAop0mrP5knAxiTQTu96Vrulsi6VyhWP74quYGwUXk=; b=TaRKwTx7Nrbq+2ZbxFm4AmZRci BdzOL5l6JuZ0aWdadgjsGh6VU3nn2OGlS85KBqt2MOaMl8/4pPAMi5138dLs9OGrX1g8kKfx3QeiH 8LrApWH10wQQBgmqk34kchy21iIQwwmbanjkoz8DAQsB+eeeHEpkllFUCHYApfKJ0IVA=; Received: by exim4; Sat, 12 Jan 2019 14:54:57 +0100 To: flashrom@flashrom.org From: =?utf-8?b?TcOhdMOpIEt1a3Jp?= Message-ID: <2fc5cf94-ee32-d127-f15a-0dc37ca14d56@mkukri.xyz> Date: Sat, 12 Jan 2019 14:55:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Language: en-US X-ACL-Warn: 188.143.49.44 is not allowed to send mail from mkukri.xyz Feedback-ID: outgoingmessage:km@mkukri.xyz:smx1.servermx.com:servermx.com X-AuthUser: bimu5pypsh X-Mailgun-Native-Send: true X-AuthUser: bimu5pypsh Message-ID-Hash: 67LLTZT2IEJ7JTYAI3PTYY4HJYOAENLD X-Message-ID-Hash: 67LLTZT2IEJ7JTYAI3PTYY4HJYOAENLD X-MailFrom: km@mkukri.xyz X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-flashrom.flashrom.org-0; header-match-flashrom.flashrom.org-1; header-match-flashrom.flashrom.org-2; header-match-flashrom.flashrom.org-3; header-match-flashrom.flashrom.org-4; header-match-flashrom.flashrom.org-5; header-match-flashrom.flashrom.org-6; header-match-flashrom.flashrom.org-7; header-match-flashrom.flashrom.org-8; header-match-flashrom.flashrom.org-9; header-match-flashrom.flashrom.org-10; header-match-flashrom.flashrom.org-11; header-match-flashrom.flashrom.org-12; header-match-flashrom.flashrom.org-13; header-match-flashrom.flashrom.org-14; header-match-flashrom.flashrom.org-15; header-match-flashrom.flashrom.org-16; header-match-flashrom.flashrom.org-17; header-match-flashrom.flashrom.org-18; header-match-flashrom.flashrom.org-19; header-match-flashrom.flashrom.org-20; header-match-flashrom.flashrom.org-21; header-match-flashrom.flashrom.org- 22; header-match-flashrom.flashrom.org-23; header-match-flashrom.flashrom.org-24; header-match-flashrom.flashrom.org-25; header-match-flashrom.flashrom.org-26; header-match-flashrom.flashrom.org-27; header-match-flashrom.flashrom.org-28; header-match-flashrom.flashrom.org-29; header-match-flashrom.flashrom.org-30; header-match-flashrom.flashrom.org-31; header-match-flashrom.flashrom.org-32; header-match-flashrom.flashrom.org-33; header-match-flashrom.flashrom.org-34; header-match-flashrom.flashrom.org-35; header-match-flashrom.flashrom.org-36; header-match-flashrom.flashrom.org-37; header-match-flashrom.flashrom.org-38; header-match-flashrom.flashrom.org-39; header-match-flashrom.flashrom.org-40; header-match-flashrom.flashrom.org-41; header-match-flashrom.flashrom.org-42; header-match-flashrom.flashrom.org-43; header-match-flashrom.flashrom.org-44; header-match-flashrom.flashrom.org-45; header-match-flashrom.flashrom.org-46; header-match-flashrom.flashrom.org-47; header-match-flash rom.flashrom.org-48; header-match-flashrom.flashrom.org-49; header-match-flashrom.flashrom.org-50; header-match-flashrom.flashrom.org-51; header-match-flashrom.flashrom.org-52; header-match-flashrom.flashrom.org-53; header-match-flashrom.flashrom.org-54; header-match-flashrom.flashrom.org-55; header-match-flashrom.flashrom.org-56; header-match-flashrom.flashrom.org-57; header-match-flashrom.flashrom.org-58; header-match-flashrom.flashrom.org-59; header-match-flashrom.flashrom.org-60; header-match-flashrom.flashrom.org-61; header-match-flashrom.flashrom.org-62; header-match-flashrom.flashrom.org-63; header-match-flashrom.flashrom.org-64; header-match-flashrom.flashrom.org-65; header-match-flashrom.flashrom.org-66; header-match-flashrom.flashrom.org-67; header-match-flashrom.flashrom.org-68; header-match-flashrom.flashrom.org-69; header-match-flashrom.flashrom.org-70; header-match-flashrom.flashrom.org-71; header-match-flashrom.flashrom.org-72; nonmember-moderation; administrivia; imp licit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.0 Precedence: list Subject: [flashrom] patch: add support for the MCP2210 List-Id: flashrom discussion and development mailing list Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-Spamd-Bar: / Authentication-Results: coreboot.org Hello, This patch adds support for the MCP2210 USB to SPI bridge as a programmer. Since the MCP2210 is an HID device I have a working version using both libusb and hidraw + udev for finding the device. I have already made a github pull request with more details: https://github.com/flashrom/flashrom/pull/68. But I am posting it here as well. Máté Kukri From 25d88e3fa58cefb0f903626c510c953a29e45731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kukri?= Date: Sat, 12 Jan 2019 14:26:47 +0100 Subject: [PATCH 5/5] Set back warnerror to no. Change-Id: I2dd03b376496e0fa1700b7279f8fa5638411eaf9 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 05a54ee..90b890c 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ CONFIG_DEFAULT_PROGRAMMER_ARGS ?= '' # If your compiler spits out excessive warnings, run make WARNERROR=no # You shouldn't have to change this flag. -WARNERROR ?= no +WARNERROR ?= yes ifeq ($(WARNERROR), yes) CFLAGS += -Werror -- 2.20.1