From c29c2e71cb7af0c7bf1dd1f81c29ca6feaae41eb Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Mon, 7 Jun 2010 22:37:54 +0000 Subject: 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 Acked-by: Carl-Daniel Hailfinger --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') 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 -- cgit v1.1