Add config option for disabling DM9000-SROM support.
authorRemy Bohmer <linux@bohmer.net>
Sun, 3 May 2009 10:11:40 +0000 (12:11 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Tue, 9 Jun 2009 05:57:21 +0000 (22:57 -0700)
commite5a3bc2401a23f1890611f020f57f94824a534db
tree056417ad7680fa6192119f7aa4fe2daa935e5e53
parent2c0234fa79122a5aa77c4e17c33eb2fe184b61a7
Add config option for disabling DM9000-SROM support.

Some boards do not have SROM support for the DM9000 network adapter.
Instead of listing these board names in the driver code, make this
option configurable from the board config file.

It also removes a build warning for the at91sam9261ek board:
'dm9000x.c:545: warning: 'read_srom_word' defined but not used'

And it repaires the trizepsiv board build which was broken around the
same routines

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
board/trizepsiv/eeprom.c
drivers/net/dm9000x.c
include/configs/at91sam9261ek.h
include/dm9000.h [new file with mode: 0644]