21 Aug, 2017

1 commit


19 Aug, 2017

2 commits


18 Aug, 2017

3 commits

  • UEFI API functions have different return types.
    Some return a value of type EFI_STATUS other don't.

    We therefore should not cast the return value of EFI_EXIT
    to another type than the expression passed to EFI_EXIT.

    Signed-off-by: Heinrich Schuchardt
    Signed-off-by: Alexander Graf

    xypron.glpk@gmx.de
     
  • Sysam stmark2 board is a generic and fully (hw and sw) open board, with
    a mcf54415 Coldfire CPU, 128MB of DDR2, 16MB of SPI flash and SD card
    as non volatile memories, and a wifi module included on-board.
    The board is actually used mainly for Coldfire custodian testing activity
    related to the mcf5441x Coldfire family.

    For further information please see: http://sysam.it/cff_stmark2.html

    Signed-off-by: Angelo Dureghello
    ---

    Changes in v2:
    - remove CMD_REGINFO
    - add board information in commit message

    Angelo Dureghello
     
  • For certain boot types and sbf, for V4 cpu's, an early ddr/sdram init
    is required. This patch moves this ddr/sdram early initalization
    away from start.S (to be board related).

    Signed-off-by: Angelo Dureghello

    Angelo Dureghello
     

17 Aug, 2017

9 commits


16 Aug, 2017

15 commits


15 Aug, 2017

8 commits

  • Set up a location driver for each supported environment location. At
    present this just points to the global functions and is not used. A
    later patch will switch this over to use private functions in each driver.

    There are several special cases here in various drivers to handle
    peculiarities of certain boards:

    1. Some boards define CONFIG_ENV_IS_IN_FAT and CONFIG_SPL_ENV_SUPPORT but
    do not actually load the environment in SPL. The env load code was
    optimised out before but with the driver, it is not. Therefore a special
    case is added to env/fat.c. The correct fix (depending on board testing
    might be to disable CONFIG_SPL_ENV_SUPPORT.

    2. A similar situations happens with CONFIG_ENV_IS_IN_FLASH. Some boards
    do not actually load the environment in SPL, so to reduce code size we
    need to drop that code. A similar fix may be possible with these boards,
    or it may be possible to adjust the environment CONFIG settings.

    Added to the above is that the CONFIG_SPL_ENV_SUPPORT option does not
    apply when the environment is in flash.

    Obviously the above has been discovered through painful and time-consuming
    trial and error. Hopefully board maintainers can take a look and figure
    out what is actually needed.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • At present we have three states for the environment, numbered 0, 1 and 2.
    Add an enum to record this to avoid open-coded values.

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass
     
  • These functions are not used outside this file. Make them static and order
    them to avoid forward declarations.

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass
     
  • About a quarter of the files in common/ relate to the environment. It
    seems better to put these into their own subdirectory and remove the
    prefix.

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass
     
  • Tom Rini
     
  • Also introduce CONFIG_USE_BOOTARGS option so we can control if
    CONFIG_BOOTARGS defined at all.

    Signed-off-by: Sam Protsenko
    [trini: Resync r8a779[56]_ulcb, various ls10xx targets]
    Signed-off-by: Tom Rini

    Sam Protsenko
     
  • Add an mii helper function to resolve flow control status per
    IEEE 802.3-2005 table 28B-3.
    This function was taken from the Linux source tree.

    Signed-off-by: Yuiko Oshino
    Acked-by: Joe Hershberger

    Yuiko Oshino
     
  • While it is likely that this entire case is superfluous and can be
    removed, correct the test now to match what is in rockchip-common.h and
    makes sense based on context of the code. Otherwise we get a large
    number of warnings.

    Reviewed-by: Philipp Tomsich
    Signed-off-by: Tom Rini

    Tom Rini
     

14 Aug, 2017

2 commits