summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Morgan <ziltro@ziltro.com>2010-06-07 22:37:54 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-06-07 22:37:54 +0000
commitc29c2e71cb7af0c7bf1dd1f81c29ca6feaae41eb (patch)
treeee5af18227b2ae38200d239b83606aca87c437be /Makefile
parent9ff514d2a8a955264d5171e2e26b410d86d75a6a (diff)
downloadast2050-flashrom-c29c2e71cb7af0c7bf1dd1f81c29ca6feaae41eb.zip
ast2050-flashrom-c29c2e71cb7af0c7bf1dd1f81c29ca6feaae41eb.tar.gz
National Semiconductor DP83815/DP83816 and DP83820 NIC programmer support
Some instability remains, but that may be due to hardware problems in the specific card (Netgear FA311) used for testing. Corresponding to flashrom svn r1039. Signed-off-by: Andrew Morgan <ziltro@ziltro.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 18c5a6b..2e774df 100644
--- a/Makefile
+++ b/Makefile
@@ -113,6 +113,9 @@ CONFIG_DRKAISER ?= yes
# Always enable Realtek NICs for now.
CONFIG_NICREALTEK ?= yes
+# Disable National Semiconductor NICs until support is complete and tested.
+CONFIG_NICNATSEMI ?= no
+
# Always enable Bus Pirate SPI for now.
CONFIG_BUSPIRATE_SPI ?= yes
@@ -192,6 +195,12 @@ PROGRAMMER_OBJS += nicrealtek.o
NEED_PCI := yes
endif
+ifeq ($(CONFIG_NICNATSEMI), yes)
+FEATURE_CFLAGS += -D'CONFIG_NICNATSEMI=1'
+PROGRAMMER_OBJS += nicnatsemi.o
+NEED_PCI := yes
+endif
+
ifeq ($(CONFIG_BUSPIRATE_SPI), yes)
FEATURE_CFLAGS += -D'CONFIG_BUSPIRATE_SPI=1'
PROGRAMMER_OBJS += buspirate_spi.o
OpenPOWER on IntegriCloud