public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] Micrel Ethernet controller with SPI
Date: Fri, 20 Feb 2009 14:42:16 -0500	[thread overview]
Message-ID: <200902201442.18892.vapier@gentoo.org> (raw)
In-Reply-To: <499F01B6.3060405@gmail.com>

On Friday 20 February 2009 14:17:10 Ben Warren wrote:
> Steven Zedeck wrote:
> > I'm not sure whether I'm supposed to ask this question as I am still new
> > to this list.
> >
> > I am working on a project using U-boot but the Ethernet controller is the
> > Micrel KSZ8851.
> > Does a driver exist that supports this chip? I assume it would be in
> > drivers/net/
> >
> > I don't have it in my version which is based on 2008.10
> >
> > Before I go through the effort to write one, I thought I'd ask whether
> > the U-boot community has one or perhaps someone is working on one.
>
> I wrote one for the KSZ8841 but it's not in the tree.  It used a memory
> interface, though, not SPI.  Not sure if that would help or not.  If you
> think it's close enough I can dig it up, though it may take some time.

the Blackfin BF518F-EZBRD board has the same micrel part.  we hook up to it 
via the on-chip MAC and to control it, we use the SPI bus.  but we dont do 
anything special ... we just turn it on in the board init code.  all the other 
networking stuff is handled via the on-chip MAC driver ...

look at the board_eth_init() function here:
http://git.denx.de/?p=u-boot/u-boot-
blackfin.git;a=commitdiff;h=e24cbd1d2cfddfe0f211eb1a5f2aad23e2a52c22

i dont think u-boot has the framework to hook up MAC switches like the micrel 
part yet ... even the Linux kernel lacks proper support still (although 
patches are floating around).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090220/765cdcfe/attachment.pgp 

  reply	other threads:[~2009-02-20 19:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20 19:10 [U-Boot] Micrel Ethernet controller with SPI Steven Zedeck
2009-02-20 19:17 ` Ben Warren
2009-02-20 19:42   ` Mike Frysinger [this message]
2009-02-20 21:36     ` Steven Zedeck
2009-02-20 21:52       ` Mike Frysinger

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=200902201442.18892.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --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