From: Michael Schwingen <rincewind@discworld.dascon.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] ARM: add support of CONFIG_LAST_STAGE_INIT for arm
Date: Sun, 09 Dec 2007 17:38:13 +0100 [thread overview]
Message-ID: <475C19F5.4090507@discworld.dascon.de> (raw)
In-Reply-To: <20071209145042.C7E41247F5@gemini.denx.de>
Wolfgang Denk wrote:
>> #endif
>> eth_initialize(gd->bd);
>> #endif
>> +#ifdef CONFIG_LAST_STAGE_INIT
>> + /*
>> + * Some parts can be only initialized if all others (like
>> + * Interrupts) are up and running (i.e. the PC-style ISA
>> + * keyboard).
>> + */
>> + last_stage_init ();
>> +#endif
> Please, not yet another such thing.
>
> Is there any specific reason why you cannot use any of the existing
> entry points, like for example board_late_init() ?
>
In my case, I need board-specific init code for the ethernet
PHY/Switches, which needs to run after eth_inizialize, so
board_late_init (at least on arm) is still too early.
If we could move board_late_init after eth_initialize (ie. directly
before calling main_loop), that would work in my case, and would remove
the necessity for my reset_phy patch.
cu
Michael
next prev parent reply other threads:[~2007-12-09 16:38 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-10 15:29 [U-Boot-Users] PATCH: support board-specific ethernet PHY init for ARM Michael Schwingen
2007-12-08 12:45 ` Jean-Christophe PLAGNIOL-VILLARD
2007-12-08 22:32 ` Michael Schwingen
2007-12-09 9:43 ` Jean-Christophe PLAGNIOL-VILLARD
2007-12-09 9:50 ` [U-Boot-Users] [PATCH] ARM: add support of CONFIG_LAST_STAGE_INIT for arm Jean-Christophe PLAGNIOL-VILLARD
2007-12-09 14:50 ` Wolfgang Denk
2007-12-09 16:38 ` Michael Schwingen [this message]
2007-12-10 17:58 ` Haavard Skinnemoen
2007-12-10 20:08 ` Michael Schwingen
2007-12-10 20:28 ` Ben Warren
2007-12-11 8:59 ` Haavard Skinnemoen
2007-12-11 16:13 ` Wolfgang Denk
2007-12-11 17:05 ` Mike Frysinger
2007-12-11 22:03 ` Wolfgang Denk
2007-12-11 18:38 ` Michael Schwingen
2007-12-11 22:09 ` Wolfgang Denk
2007-12-12 8:32 ` Michael Schwingen
2007-12-11 9:53 ` [U-Boot-Users] [PATCH] ARM: support board-specific ethernet PHY init Jean-Christophe PLAGNIOL-VILLARD
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=475C19F5.4090507@discworld.dascon.de \
--to=rincewind@discworld.dascon.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.