17 Feb, 2015
1 commit
-
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
12 Jun, 2014
1 commit
-
Clang interpretes an if condition like "if ((a = b) == NULL)
as it tries to assign a value in a statement. Hence if you do
"if ((something)) it warns you that you might be confused.
Hence drop the double braces for plane if statements.cc: Holger Brunck
Signed-off-by: Jeroen Hofstee
30 May, 2014
1 commit
-
Hush is a command-line interpreter, so rename it to make that clearer.
Signed-off-by: Simon Glass
09 Oct, 2013
1 commit
24 Jul, 2013
2 commits
-
The sandburst-specific i2c drivers have been deleted, conflict was just
over the SPDX conversion.Conflicts:
board/sandburst/common/ppc440gx_i2c.c
board/sandburst/common/ppc440gx_i2c.hSigned-off-by: Tom Rini
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
23 Jul, 2013
3 commits
-
as the keymile boards use now the new i2c multibus/multiadapter
framework, remove the EEprom_ivm Environmentvar, as not longer
needed.Signed-off-by: Heiko Schocher
Cc: Holger Brunck
Tested-By: Holger Brunck -
- added to fsl_i2c driver new multibus/multiadpater support
- adapted all config files, which uses this driverSigned-off-by: Heiko Schocher
Cc: Simon Glass
Cc: Stephen Warren -
- added to soft_i2c driver new multibus/multiadpater support
- adapted all config files, which uses this driverSigned-off-by: Heiko Schocher
Cc: Simon Glass
Cc: Stephen Warren
22 May, 2013
1 commit
-
Signed-off-by: Holger Brunck
Signed-off-by: Kim Phillips
16 Feb, 2013
4 commits
-
kmvect1 has a UEC2 connection to the piggy board and a UEC0 connection
to the switch MV88E6122. This switch has a connection to a frontport
ethernet interface. The ethernet port used for network booting is
automatically selected by u-boot. If a Piggy is plugged, the Piggy
port is selected (UEC2, eth1). If the Piggy isn't present, the
Frontport is selected (UEC0, eth0).The switch reset is connected to a GPIO on the PRIO3 board FPGA (GPIO28)
and released at startup.Signed-off-by: Karlheinz Jerg
Signed-off-by: Holger Brunck -
For the the kmvect1 board we will also need a functionality to add an
offset to the IVMs MAC address, because these board will have two valid
ethernet ports for debugging purpose. So move the code to an own
function.Signed-off-by: Holger Brunck
-
This define isn't set within our setup files. So we can safely remove
the affected code.Signed-off-by: Holger Brunck
-
EEprom_ivm_addr isn't set in our environment, so remove the usage of
this.Signed-off-by: Holger Brunck
03 Sep, 2012
1 commit
-
The fanless boards now have a 7-digit (XXXXX-F) board name. This
triggers a border condition when reading this string in the IVM although
this string is smaller than the currenly read string size, but only by 1
character.This patch corrects this by changing the size check condition for string
length. It is the same change that was done in the platform for this
same bug.Signed-off-by: Valentin Longchamp
cc: Holger Brunck
cc: Stefan Bigler
16 Jun, 2012
1 commit
-
The MAC address begins at offset 1.
Signed-off-by: Thomas Herzmann
Signed-off-by: Holger Brunck
Signed-off-by: Kim Phillips
22 Oct, 2011
1 commit
-
This prevents u-boot to print out "Can't overwrite "ethaddr""
each time a powerpc board starts.Signed-off-by: Holger Brunck
cc: Wolfgang Denk
22 Sep, 2011
1 commit
-
The MAC address stored in the inventory eeprom begins at offset 1.
Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Wolfgang Denk
28 Jul, 2011
1 commit
-
The file common.c grows in the past. So move the IVM specific
code into an ivm.c file.Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Heiko Schocher
cc: Wolfgang Denk