patch: add support for the MCP2210

Message ID 2fc5cf94-ee32-d127-f15a-0dc37ca14d56@mkukri.xyz
State New
Headers show
Series
  • patch: add support for the MCP2210
Related show

Commit Message

Máté Kukri Jan. 12, 2019, 1:55 p.m.
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

Patch

From 25d88e3fa58cefb0f903626c510c953a29e45731 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kukri?= <kukri.mate@gmail.com>
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