From: Alban Bedel <alban.bedel@avionic-design.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from ethernet devices
Date: Tue, 21 Oct 2014 14:51:01 +0200 [thread overview]
Message-ID: <20141021145101.642c27a9@avionic-0020> (raw)
In-Reply-To: <CAPnjgZ2_ZGFPTrTnMv986e0rtAQPfdK2rp+j4yj=4jwFNg6f_Q@mail.gmail.com>
On Fri, 17 Oct 2014 14:12:18 -0600
Simon Glass <sjg@chromium.org> wrote:
> >
> > I'm unsure about the 'defaults' commands, I would tend to see it at
> > the eeprom level as it might be needed in various situations. However
> > it must be provided by the device, not the eeprom driver itself.
> > It might also make sense to drop the callback in favour of a simple
> > data array as it would allow setting it from device tree.
>
> I'm not sure what this refers to sorry.
It refer to the 'eth eeprom defaults' command from this patch. The USB
device I wrote that for need a lot more in the EEPROM than just the MAC
address. This command allow writing the "factory defaults" in the
EEPROM. Somehow I have a feeling that such a command would make sense
for a few other use-case than just USB ethernet devices.
Alban
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141021/dd433873/attachment.pgp>
next prev parent reply other threads:[~2014-10-21 12:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-14 16:26 [U-Boot] [PATCH v3 1/3] net: Add a command to manipulate ethernet devices Alban Bedel
2014-10-14 16:26 ` [U-Boot] [PATCH v3 2/3] net: Add a command to access the EEPROM from " Alban Bedel
2014-10-14 17:21 ` Simon Glass
2014-10-14 19:14 ` Joe Hershberger
2014-10-14 19:18 ` Simon Glass
2014-10-15 9:42 ` Alban Bedel
2014-10-17 20:12 ` Simon Glass
2014-10-21 12:51 ` Alban Bedel [this message]
2014-10-21 16:19 ` Simon Glass
2014-10-14 20:59 ` Marek Vasut
2014-10-14 16:26 ` [U-Boot] [PATCH v3 3/3] usb: eth: smsc95xx: Add EEPROM access support for LAN9514 Alban Bedel
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=20141021145101.642c27a9@avionic-0020 \
--to=alban.bedel@avionic-design.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.