diff options
author | Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com> | 2009-10-10 12:42:21 +0200 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2009-10-10 23:16:53 -0700 |
commit | 310cecb8ccdbc8a9be580e75b2fd362179d78535 (patch) | |
tree | 8aafcce0beeec078bb6c36cfdc9e27481b394938 /lib_sh | |
parent | 4ba31ab33ac824635fcb49ac609070a9ebcab7f0 (diff) | |
download | bootable_bootloader_goldelico_gta04-310cecb8ccdbc8a9be580e75b2fd362179d78535.zip bootable_bootloader_goldelico_gta04-310cecb8ccdbc8a9be580e75b2fd362179d78535.tar.gz bootable_bootloader_goldelico_gta04-310cecb8ccdbc8a9be580e75b2fd362179d78535.tar.bz2 |
Add bb_miiphy_init call before any ethernet bring-up code.
Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'lib_sh')
-rw-r--r-- | lib_sh/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib_sh/board.c b/lib_sh/board.c index 5d61f0d..5ed40e9 100644 --- a/lib_sh/board.c +++ b/lib_sh/board.c @@ -28,6 +28,10 @@ #include <net.h> #include <environment.h> +#ifdef CONFIG_BITBANGMII +#include <miiphy.h> +#endif + extern void malloc_bin_reloc (void); extern int cpu_init(void); extern int board_init(void); @@ -178,6 +182,9 @@ void sh_generic_init(void) #endif /* CONFIG_WATCHDOG*/ +#ifdef CONFIG_BITBANGMII + bb_miiphy_init(); +#endif #if defined(CONFIG_CMD_NET) { char *s; |