[U-Boot] [U-Boot, v3, 1/6] KM/IVM: split the IVM reading and parsing in 2 parts

Tom Rini trini at ti.com
Tue Feb 17 21:22:56 CET 2015


On Tue, Feb 10, 2015 at 05:10:13PM +0100, Valentin Longchamp wrote:

> This allows to first read the IVM content (earlier in the boot sequence)
> and define the ethaddr env variable thanks to the ivm_read_eepromi().
> Later, the IVM content can be parsed and used to define some hush
> variables, when the hush subsystem is available thanks to
> ivm_analyze_eeprom().
> 
> To avoid the HW read to happen twice, the buffer passed to
> ivm_read_eeprom() has to be reused by ivm_analyze_eeprom (and thus
> allocated before calling ivm_read_eeprom()).
> 
> Signed-off-by: Valentin Longchamp <valentin.longchamp at keymile.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150217/481fd119/attachment.sig>


More information about the U-Boot mailing list