12 Jun, 2017

1 commit


05 Dec, 2016

1 commit


06 May, 2015

2 commits


06 Jan, 2015

1 commit


13 Dec, 2013

1 commit


25 Nov, 2013

1 commit


01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


01 May, 2013

1 commit


24 Oct, 2011

1 commit


06 Oct, 2011

2 commits

  • This test is similar to the actual POST memory test but quicker and
    far less complete. It checks the address and data lines and then only
    tests some regularly placed sub regions of the RAM.
    This can be useful when we want to test the RAM but we do not have enough
    time to run the full memory test.

    The POST memory test code was rearranged in order to avoid code duplication
    between the two tests but the memory test functionnality remains the same.

    Signed-off-by: Valentin Longchamp
    Signed-off-by: Holger Brunck
    Ackey-by: Mike Frysinger

    Valentin Longchamp
     
  • This is needed for a further patch adding a new memory test.

    Signed-off-by: Valentin Longchamp
    Acked-by: Mike Frysinger

    Valentin Longchamp
     

28 Jul, 2011

2 commits


26 Jul, 2011

2 commits


20 Nov, 2010

1 commit


18 Nov, 2010

1 commit

  • Before this commit, weak symbols were not overridden by non-weak symbols
    found in archive libraries when linking with recent versions of
    binutils. As stated in the System V ABI, "the link editor does not
    extract archive members to resolve undefined weak symbols".

    This commit changes all Makefiles to use partial linking (ld -r) instead
    of creating library archives, which forces all symbols to participate in
    linking, allowing non-weak symbols to override weak symbols as intended.
    This approach is also used by Linux, from which the gmake function
    cmd_link_o_target (defined in config.mk and used in all Makefiles) is
    inspired.

    The name of each former library archive is preserved except for
    extensions which change from ".a" to ".o". This commit updates
    references accordingly where needed, in particular in some linker
    scripts.

    This commit reveals board configurations that exclude some features but
    include source files that depend these disabled features in the build,
    resulting in undefined symbols. Known such cases include:
    - disabling CMD_NET but not CMD_NFS;
    - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

    Signed-off-by: Sebastien Carlier

    Sebastien Carlier
     

17 Nov, 2010

1 commit


28 Oct, 2010

1 commit

  • Commit 7e263ce "post/i2c: Clean up detection logic" added a "const"
    qualifier to the declaration of i2c_addr_list[], missing the fact that
    the list gets modified later in the code, which results in build
    errors like these:

    i2c.c: In function 'i2c_post_test':
    i2c.c:88: error: assignment of read-only location

    Remove the incorrect "const".

    Signed-off-by: Wolfgang Denk
    Cc: Peter Tyser
    Cc: Heiko Schocher
    Acked-by: Heiko Schocher

    Wolfgang Denk
     

22 Oct, 2010

5 commits

  • Add the ability to not report an I2C POST error for a set of given I2C
    addresses on bootup. This is useful for cases when a device may or may
    not be present, and neither case is considered an error. For example:

    - Some form factors such as XMC and Compact PCI Express have an I2C
    EEPROM whose address changes based on geographical address. Eg
    installed in one slot its EEPROM address is, 0x50, in another its
    0x51, etc. This allows multiple devices to have their EEPROMs present
    on the same I2C bus. Thus the I2C devices present for an XMC or
    CPCIe card depend on if and where other cards are installed in the
    same system.

    - Some cards have optional I2C devices. Eg one hardware build
    configuration has different I2C devices than another and software
    can't determine if the optional device should be present or not.

    - Some cards have optional daughtercards with I2C devices on them.

    - I2C EEPROMs address range depends on their size. Its possible to
    support differently size EEPROMs by only probing the EEPROM's base
    address and ignoring the other addresses that are impacted by its
    size.

    A new CONFIG_SYS_POST_I2C_IGNORES define has been added which specifies
    a list of I2C addresses for the I2C POST to ignore.

    Signed-off-by: Peter Tyser
    Acked-by: Heiko Schocher
    Acked-by: Wolfgang Denk
    Signed-off-by: Kumar Gala

    Peter Tyser
     
  • Signed-off-by: Peter Tyser
    Acked-by: Heiko Schocher
    Acked-by: Wolfgang Denk
    Signed-off-by: Kumar Gala

    Peter Tyser
     
  • According to the I2C specification device address 0 is the "general call
    address", ie a broadcast address. The I2C specification states that the
    format of a general call uses at least 2 bytes, which U-Boot's probing
    routine does not adhere to.

    Not probing device address 0 will prevent possible issues with devices
    that accept general calls. Additionally, this change shouldn't reduce
    POST coverage since each I2C device should still be accessed via its
    own, unique address.

    Signed-off-by: Peter Tyser
    Acked-by: Heiko Schocher
    Acked-by: Wolfgang Denk
    Signed-off-by: Kumar Gala

    Peter Tyser
     
  • The logic previously used in the I2C post was a bit convoluted.

    Signed-off-by: Peter Tyser
    Acked-by: Heiko Schocher
    Acked-by: Wolfgang Denk
    Signed-off-by: Kumar Gala

    Peter Tyser
     
  • - Clean up ifdeffery
    - Update coding style

    No functional change should have occurred.

    Signed-off-by: Peter Tyser
    Acked-by: Heiko Schocher
    Acked-by: Wolfgang Denk
    Signed-off-by: Kumar Gala

    Peter Tyser
     

20 Oct, 2010

1 commit

  • Add weak functions to enable architecture depended preparation, address
    advancing, cleaning up and error handling.

    These weak functions provides the framwork to implemente arch/platform
    dependent code for initializing/maintenance/restore the start address, size,
    physical address as well as memory mapping before/between/after memory test.
    arch_memory_failure_handle can also be implemented in case more care is needed
    for arch/platform.

    Signed-off-by: York Sun

    York Sun
     

19 Oct, 2008

1 commit


21 May, 2008

1 commit

  • This commit gets rid of a huge amount of silly white-space issues.
    Especially, all sequences of SPACEs followed by TAB characters get
    removed (unless they appear in print statements).

    Also remove all embedded "vim:" and "vi:" statements which hide
    indentation problems.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

25 Apr, 2008

1 commit


22 Apr, 2008

2 commits


21 Mar, 2008

1 commit

  • Modify the RTC API to provide one a status for the time reported by
    the rtc_get() function:
    0 - a reliable time is guaranteed,
    < 0 - a reliable time isn't guaranteed (power fault, clock issues,
    and so on).

    The RTC chip drivers are responsible for providing this info if the
    corresponding chip supports such functionality. If not - always
    report that the time is reliable.

    The POST RTC test was modified to detect the RTC faults utilizing
    this new rtc_get() feature.

    Signed-off-by: Yuri Tikhonov

    Yuri Tikhonov
     

03 Mar, 2008

1 commit


25 Aug, 2007

1 commit


05 Jul, 2007

1 commit


07 Mar, 2007

1 commit