[U-Boot-Users] [PATCH v2] Update Freescale sys_eeprom.c to handle CCID formats

Robert Schwebel
2008-06-22T13:40:55Z

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

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.

Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hannoversche Str. 2, 31134 Hildesheim, Germany
Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9