From: Timur Tabi <timur@tabi.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] powerpc/eeprom: update MAX_NUM_PORTS to fix program failure
Date: Fri, 30 Aug 2013 08:19:56 -0500 [thread overview]
Message-ID: <52209BFC.5080708@tabi.org> (raw)
In-Reply-To: <3F453DDFF675A64A89321A1F35281021A8E21A@039-SN1MPN1-004.039d.mgd.msft.net>
On 08/30/2013 06:04 AM, Liu Shengzhou-B36685 wrote:
>> Actually, the 23 should be changed to 31. York, this patch needs to be
>> applied: http://patchwork.ozlabs.org/patch/170753/
>
> According to AN3638, it should be 30 rather than 31 for 256-bytes EEPROM.
Are you talking about the C struct? That's just an example. Besides,
the C struct has an error in it:
unsigned char res_u[7]; // F6-FB: reserved
this should be res_u[6].
Besides, the appnote says elsewhere:
"0xA2 ? 0xFB reserved
Reserved for additional MAC addresses or other data. NXID readers need
only consider the MACSIZE field to determine if this space is used for
additional MAC addresses."
Which means that you can fill the EEPROM with MAC addresses. If you do
the math, that means 31 addresses.
--
Timur Tabi
prev parent reply other threads:[~2013-08-30 13:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-08 9:14 [U-Boot] [PATCH] powerpc/eeprom: update MAX_NUM_PORTS to fix program failure Shengzhou Liu
2013-08-11 23:50 ` Timur Tabi
2013-08-29 9:56 ` Liu Shengzhou-B36685
2013-08-29 15:09 ` Timur Tabi
2013-08-30 11:04 ` Liu Shengzhou-B36685
2013-08-30 13:19 ` Timur Tabi [this message]
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=52209BFC.5080708@tabi.org \
--to=timur@tabi.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