linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* rpx_cfg() copy to NVRAM?
@ 2000-05-30 15:11 Mark S. Mathews
  2000-05-30 16:03 ` Matthew Locke
  2000-05-30 16:22 ` Dan Malek
  0 siblings, 2 replies; 6+ messages in thread
From: Mark S. Mathews @ 2000-05-30 15:11 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

I just noticed the following snippet in rpx_cfg() :

        iic_read(0xa8, eebuf, 0, 128);
        iic_read(0xa8, &eebuf[128], 128, 128);
        {
                int i;
                cp = (u_char *)0xfa000000;

                for (i=0; i<256; i++)
                        *cp++ = eebuf[i];
        }

It appears to be copying the eeprom data to NVRAM.  Is anyone using this?
Can I safely take it out?  We have RPX boards that don't have NVRAM and
this seems a little pointless.

I'm in the process of changing head.S and embed_config.c to work with the
new EP bootloader.

-Mark

Mark S. Mathews

AbsoluteValue Systems      Web:    http://www.absoval.com
P.O. Box 941149            e-mail: mark@absoval.com
Maitland, FL 32794-1149    Phone:  407.644.8582
USA                        Fax:    407.539.1294


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-05-30 16:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-30 15:11 rpx_cfg() copy to NVRAM? Mark S. Mathews
2000-05-30 16:03 ` Matthew Locke
2000-05-30 16:23   ` Dan Malek
2000-05-30 16:34     ` Mark S. Mathews
2000-05-30 16:30   ` Mark S. Mathews
2000-05-30 16:22 ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).