summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-05-08 00:24:18 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-05-08 00:24:18 +0000
commitb713d2e35c5336da81f5fbc83393961d1d8aa7bd (patch)
treee764260bea4210677e5d58ac257d89ac8c8d2183 /Makefile
parent064bbc9f37bfcda7e9647e1d895d51747fcc19c9 (diff)
downloadast2050-flashrom-b713d2e35c5336da81f5fbc83393961d1d8aa7bd.zip
ast2050-flashrom-b713d2e35c5336da81f5fbc83393961d1d8aa7bd.tar.gz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fce2708..e3c1154 100644
--- a/Makefile
+++ b/Makefile
@@ -178,6 +178,9 @@ CONFIG_NICREALTEK ?= yes
# 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 @@ PROGRAMMER_OBJS += nicnatsemi.o
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
OpenPOWER on IntegriCloud