diff options
author | Remy Bohmer <linux@bohmer.net> | 2009-05-03 12:11:40 +0200 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2009-06-08 22:57:21 -0700 |
commit | e5a3bc2401a23f1890611f020f57f94824a534db (patch) | |
tree | 056417ad7680fa6192119f7aa4fe2daa935e5e53 /include/configs/at91sam9261ek.h | |
parent | 2c0234fa79122a5aa77c4e17c33eb2fe184b61a7 (diff) | |
download | u-boot-imx-e5a3bc2401a23f1890611f020f57f94824a534db.zip u-boot-imx-e5a3bc2401a23f1890611f020f57f94824a534db.tar.gz u-boot-imx-e5a3bc2401a23f1890611f020f57f94824a534db.tar.bz2 |
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>
Diffstat (limited to 'include/configs/at91sam9261ek.h')
-rw-r--r-- | include/configs/at91sam9261ek.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/at91sam9261ek.h b/include/configs/at91sam9261ek.h index fdaa71c..9621b7c 100644 --- a/include/configs/at91sam9261ek.h +++ b/include/configs/at91sam9261ek.h @@ -137,6 +137,7 @@ #define DM9000_IO CONFIG_DM9000_BASE #define DM9000_DATA (CONFIG_DM9000_BASE + 4) #define CONFIG_DM9000_USE_16BIT 1 +#define CONFIG_DM9000_NO_SROM 1 #define CONFIG_NET_RETRY_COUNT 20 #define CONFIG_RESET_PHY_R 1 |