Intel NIC with parallel flash support
Tested-by: Maciej Pijanka <maciej.pijanka@gmail.com>
Corresponding to flashrom svn r1297.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Tested-by: Anton Kochkov <anton.kochkov@gmail.com>
Acked-by: Anton Kochkov <anton.kochkov@gmail.com>
diff --git a/Makefile b/Makefile
index fce2708..e3c1154 100644
--- a/Makefile
+++ b/Makefile
@@ -178,6 +178,9 @@
# Disable National Semiconductor NICs until support is complete and tested.
CONFIG_NICNATSEMI ?= no
+# Always enable Intel NICs for now.
+CONFIG_NICINTEL ?= yes
+
# Always enable SPI on Intel NICs for now.
CONFIG_NICINTEL_SPI ?= yes
@@ -297,6 +300,12 @@
NEED_PCI := yes
endif
+ifeq ($(CONFIG_NICINTEL), yes)
+FEATURE_CFLAGS += -D'CONFIG_NICINTEL=1'
+PROGRAMMER_OBJS += nicintel.o
+NEED_PCI := yes
+endif
+
ifeq ($(CONFIG_NICINTEL_SPI), yes)
FEATURE_CFLAGS += -D'CONFIG_NICINTEL_SPI=1'
PROGRAMMER_OBJS += nicintel_spi.o