[U-Boot] [PATCH 4/5] net: tsec: export tsec_info

Anton Vorontsov avorontsov at ru.mvista.com
Tue Sep 30 23:56:05 CEST 2008


On Tue, Sep 30, 2008 at 02:15:00PM -0500, Andy Fleming wrote:
> On Tue, Sep 30, 2008 at 11:27 AM, Anton Vorontsov
> <avorontsov at ru.mvista.com> wrote:
> > We'll need the exported tsec_info to fix up the phy addresses and
> > tsecs' flags based on the hardware reset configuration words. Thus
> > we'll use the tsec_info very early and just once at boot time, so
> > network code won't notice it.
> >
> > Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
> 
> 
> Hm.  The other boards that needed to change this structure just passed
> in a different structure.  Modifying the default structure is not
> really the intended purpose of that structure.  Instead, just use the
> macros to create your own structure, and then modify that.

Ah, I see... I should implement board_eth_init(). (didn't know that
it disables cpu_eth_init()).

Thanks for the hint.

-- 
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2


More information about the U-Boot mailing list