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

    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

    Jeroen Hofstee
     

30 May, 2014

1 commit


09 Oct, 2013

1 commit


24 Jul, 2013

2 commits


23 Jul, 2013

3 commits


22 May, 2013

1 commit


16 Feb, 2013

4 commits


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

    Valentin Longchamp
     

16 Jun, 2012

1 commit


22 Oct, 2011

1 commit


22 Sep, 2011

1 commit


28 Jul, 2011

1 commit