14 Feb, 2018

1 commit

  • This driver is no longer used on any supported platform in U-Boot and
    there is no interest in maintaining it further from people that have
    used it historically.

    Cc: Simon Glass
    Cc: Michal Simek
    c: Alexey Brodkin
    Signed-off-by: Tom Rini
    Acked-by: Michal Simek

    Tom Rini
     

11 Feb, 2018

1 commit

  • On the NIOS2 and Xtensa architectures, we do not have
    CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current
    values into the defconfig and removing them from the headers.

    I did not attempt to add more default values in and for now will leave
    that to maintainers.

    Signed-off-by: Tom Rini

    Tom Rini
     

09 Feb, 2018

1 commit

  • Migrate the base and sub-options to Kconfig. Note that we only enable
    this in the base sandbox config now.

    Cc: Alexey Brodkin
    Cc: Michal Simek
    Signed-off-by: Tom Rini
    ---
    Is this driver still used anywhere? It's fishy that it's only enabled
    in sandbox anymore.

    Tom Rini
     

04 Feb, 2018

1 commit

  • When functions return an error it propagates up the stack to the point
    where it is reported. Often the error code provides enough information
    about the root cause of the error that this is obvious what went wrong.

    However in some cases the error may be hard to trace. For example if a
    driver uses several devices to perform an operation, it may not be
    obvious which one failed.

    Add a log_ret() macro to help with this. This can be used to wrap any
    error-return value. The logging system will then output a log record when
    the original error is generated, making it easy to trace the call stack
    of the error.

    This macro can significantly impact code size, so its use is controlled
    by a Kconfig option, which is enabled for sandbox.

    Signed-off-by: Simon Glass

    Simon Glass
     

08 Dec, 2017

2 commits


11 Oct, 2017

1 commit

  • Having this as a 'default y' is rather annoying because it doesn't
    actually compile unless other options are defined in the board header:

    ../cmd/bootm.c: In function 'do_imls_nor':
    ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
    i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {

    Make it 'default n' so people who develop new boards that start from a
    blank defconfig have one less compilation failure to debug.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

03 Oct, 2017

1 commit


27 Sep, 2017

1 commit


17 Sep, 2017

1 commit


16 Sep, 2017

2 commits


15 Sep, 2017

2 commits


02 Sep, 2017

1 commit


28 Aug, 2017

2 commits


15 Aug, 2017

1 commit


12 Aug, 2017

4 commits


26 Jul, 2017

1 commit

  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_MMC
    CONFIG_ENV_IS_IN_NAND
    CONFIG_ENV_IS_IN_UBI
    CONFIG_ENV_IS_NOWHERE

    In fact this already exists for sunxi as a 'choice' config. However not
    all the choices are available in Kconfig yet so we cannot use that. It
    would lead to more than one option being set.

    In addition, one purpose of this series is to allow the environment to be
    stored in more than one place. So the existing choice is converted to a
    normal config allowing each option to be set independently.

    There are not many opportunities for Kconfig updates to reduce the size of
    this patch. This was tested with

    ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC

    And then manual updates. This is because for CHAIN_OF_TRUST boards they
    can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
    now.

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

    Simon Glass
     

12 Jul, 2017

1 commit

  • Enable the pre-console buffer, displaying the model and post-relocation
    console announce on sandbox. Also add a model name to the device tree.
    This allows testing of these features.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    Tested-by: Stephen Warren

    Simon Glass
     

19 Jun, 2017

1 commit


06 Jun, 2017

1 commit


01 Jun, 2017

1 commit


23 May, 2017

1 commit


22 May, 2017

4 commits


11 May, 2017

1 commit

  • Since this driver can be used for rk8xx series pmic,
    let's rename rk808 to rk8xx, to make it clear.

    Configs parts are done by sed -i "s/RK808/RK8XX/g" `grep RK808 -lr ./`

    Signed-off-by: Jacob Chen

    Jacob Chen
     

10 May, 2017

1 commit

  • Those tests check:
    - the ability for a phy-user to get a phy based on its name or its index
    - the ability of a phy device (provider) to manage multiple ports
    - the ability to perform operations on the phy (init,deinit,on,off)
    - the behavior of the uclass when optional operations are not implemented

    Signed-off-by: Jean-Jacques Hiblot
    Reviewed-by: Simon Glass

    Jean-Jacques Hiblot
     

08 May, 2017

1 commit

  • This is a simple uclass for Watchdog Timers. It has four operations:
    start, restart, reset, stop. Drivers must implement start, restart and
    stop operations, while implementing reset is optional: It's default
    implementation expires watchdog timer in one clock tick.

    Signed-off-by: Maxim Sloyko
    Reviewed-by: Simon Glass

    maxims@google.com
     

01 May, 2017

5 commits