Searched hist:"16 ac90c7ee6fe973ee86fa9b08f876e5c33751bc" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/board/keymile/common/ |
| H A D | ivm.c | 16ac90c7ee6fe973ee86fa9b08f876e5c33751bc Tue Feb 10 16:10:13 UTC 2015 Valentin Longchamp <valentin.longchamp@keymile.com> KM/IVM: split the IVM reading and parsing in 2 parts
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@keymile.com>
|
| H A D | common.h | 16ac90c7ee6fe973ee86fa9b08f876e5c33751bc Tue Feb 10 16:10:13 UTC 2015 Valentin Longchamp <valentin.longchamp@keymile.com> KM/IVM: split the IVM reading and parsing in 2 parts
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@keymile.com>
|