All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH v2] Update Freescale sys_eeprom.c to	handle CCID formats
Date: Sun, 22 Jun 2008 17:03:55 -0500	[thread overview]
Message-ID: <485ECC4B.7000801@freescale.com> (raw)
In-Reply-To: <20080622134055.GQ1189@pengutronix.de>

Robert Schwebel wrote:
> Hi,
> 
> On Fri, Jun 20, 2008 at 09:59:03AM -0500, Timur Tabi wrote:
>> Update the sys_eeprom.c file to handle both NXID and CCID EEPROM formats.  The
>> NXID format replaces the older CCID format, but it's important to support both
>> since most boards out there still use the CCID format.  This change is in
>> preparation for using one file to handle both formats.  This will also unify
>> EEPROM support for all Freescale 85xx and 86xx boards.
>>
>> Also update the 86xx board header files to use the standard CFG_I2C_EEPROM_ADDR
>> instead of ID_EEPROM_ADDR.
> 
> I don't know what NXID and CCID is, but have you seen Wolfram's proposal
> for sub-devicetrees?
> 
> http://ozlabs.org/pipermail/linuxppc-dev/2008-June/058263.html

This doesn't apply.  CCID and NXID are Freescale-custom layouts for data in an 
EEPROM.  NXID replaces CCID.  I suppose we could replace NXID with something 
FDT-based, like Wolfram's proposal, but for now my goal is clean up the code 
that supports the existing formats.

> Our aim here is to put device tree sniplets into eeproms or flash areas;
> we have several boards here that consist of
> 
> - a module
> - a base board
> - maybe an extension board
> 
> and having sub devicetrees would make it possible to simply put the
> devicetree for each component into a piece of storage *on the
> component*. So the bootloader and later Linux would be able to build the
> whole tree from these sniplets.

Sounds complicated and interesting.  I might think about it some more later.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

  reply	other threads:[~2008-06-22 22:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-20 14:59 [U-Boot-Users] [PATCH v2] Update Freescale sys_eeprom.c to handle CCID formats Timur Tabi
2008-06-20 16:45 ` Ben Warren
2008-06-20 18:16   ` Timur Tabi
2008-06-20 18:20     ` Ben Warren
2008-06-22 13:40 ` Robert Schwebel
2008-06-22 22:03   ` Timur Tabi [this message]
2008-06-23  6:35     ` Robert Schwebel
2008-06-24 21:04 ` Timur Tabi
2008-07-14 15:56   ` Timur Tabi

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=485ECC4B.7000801@freescale.com \
    --to=timur@freescale.com \
    --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.