From: Michael Durrant <mdurrant@arcturusnetworks.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] ColdFire/M68K board.c initialization / order matters [PATCH] -- resent in git format
Date: Wed, 20 Jan 2010 13:33:45 -0500 [thread overview]
Message-ID: <4B574C89.7020807@arcturusnetworks.com> (raw)
In-Reply-To: <4B561B19.6010006@arcturusnetworks.com>
lib_m68k_board.patch
- eth_init() requires eth_current which is initialized in
eth_initialize()
so eth_initialize (bd) should be called first then eth_init(bd)
Signed-off-by: David Wu <davidwu@arcturusnetworks.com>
Signed-off-by: Michael Durrant <mdurrant@arcturusnetworks.com>
---
lib_m68k/board.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib_m68k/board.c b/lib_m68k/board.c
index 732023d..c17394b 100644
--- a/lib_m68k/board.c
+++ b/lib_m68k/board.c
@@ -639,13 +639,13 @@ void board_init_r (gd_t *id, ulong dest_
#endif
#if defined(CONFIG_CMD_NET)
WATCHDOG_RESET();
-#if defined(FEC_ENET)
- eth_init(bd);
-#endif
#if defined(CONFIG_NET_MULTI)
puts ("Net: ");
eth_initialize (bd);
#endif
+#if defined(FEC_ENET)
+ eth_init(bd);
+#endif
#endif
#ifdef CONFIG_POST
-- 1.4.3.4
next prev parent reply other threads:[~2010-01-20 18:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 20:50 [U-Boot] ColdFire/M68K board.c initialization / order matters [PATCH] Michael Durrant
2010-01-20 18:33 ` Michael Durrant [this message]
2010-01-20 22:08 ` [U-Boot] ColdFire/M68K board.c initialization / order matters [PATCH] -- resent in git format Ben Warren
2010-01-20 23:54 ` Michael Durrant
2010-01-21 0:20 ` Ben Warren
2010-01-21 16:12 ` Michael Durrant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B574C89.7020807@arcturusnetworks.com \
--to=mdurrant@arcturusnetworks.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox