[U-Boot] [PATCH v3 0/6] keymile: enhance IVM reading
Valentin Longchamp
valentin.longchamp at keymile.com
Tue Feb 10 17:10:12 CET 2015
All Keymile boards have an EEPROM that is called IVM that contain
information about the board that is progammed at production time.
One piece of information is the MAC addresses assigned to the board.
u-boot requires the MAC address of the ethernet interfaces it uses to be
defined when the interface is intialized. This is most of the time read
from the environment but in the case where only the default environment
is available, this must be read from somewhere else, in our case the
IVM.
This patch series splits the reading and analysis of the IVM content in
2, so that the IVM content and MAC addresses can be read prior to
ethernet initialization. The analysis of the rest of the IVM content
still happens at a later second stage.
Changes in v3:
- Fix typo that prevented patch 1/6 from compiling
Changes in v2:
- Include the first patch, which was forgotten in the first submission
Valentin Longchamp (6):
KM/IVM: split the IVM reading and parsing in 2 parts
kirkwood/km_arm: read the IVM eeprom earlier
85xx/kmp204x: read the IVM eeprom earlier
83xx/km83xx: read the IVM eeprom earlier
82xx/km82xx: read the IVM eeprom earlier
KM/IVM: remove ivm_read_eeprom(void)
board/keymile/common/common.h | 3 +-
board/keymile/common/ivm.c | 77 +++++++++++++++++++++++++----------------
board/keymile/km82xx/km82xx.c | 10 +++++-
board/keymile/km83xx/km83xx.c | 5 ++-
board/keymile/km_arm/km_arm.c | 6 +++-
board/keymile/kmp204x/kmp204x.c | 5 ++-
include/configs/km82xx.h | 2 ++
7 files changed, 73 insertions(+), 35 deletions(-)
--
1.8.0.1
More information about the U-Boot
mailing list