From: Tom Rini Date: Tue, 17 Feb 2015 15:22:56 -0500 Subject: [U-Boot] [U-Boot, v3, 1/6] KM/IVM: split the IVM reading and parsing in 2 parts In-Reply-To: <1423584618-19677-2-git-send-email-valentin.longchamp@keymile.com> References: <1423584618-19677-2-git-send-email-valentin.longchamp@keymile.com> Message-ID: <20150217202256.GH11752@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: