16 Aug, 2017

2 commits

  • We are now using an env_ prefix for environment functions. Rename these
    two functions for consistency. Also add function comments in common.h.

    Quite a few places use getenv() in a condition context, provoking a
    warning from checkpatch. These are fixed up in this patch also.

    Suggested-by: Wolfgang Denk
    Signed-off-by: Simon Glass

    Simon Glass
     
  • We are now using an env_ prefix for environment functions. Rename setenv()
    for consistency. Also add function comments in common.h.

    Suggested-by: Wolfgang Denk
    Signed-off-by: Simon Glass

    Simon Glass
     

14 Aug, 2017

4 commits


23 Jul, 2017

1 commit

  • If one does not already have a rule to create a custom device node when
    a given device enumerates it can be useful to have udev create a
    bus path based node to the entry in /dev/bus/usb that was just
    enumerated. Given that DFU itself does not require a /dev entry it is a
    good idea to provide a rule that will generate one.

    Signed-off-by: Tom Rini

    Tom Rini
     

12 Jul, 2017

4 commits


12 Jun, 2017

4 commits

  • refer in the README to tbots webpage, and delete
    the README in tools/tbot, as the latest documentation
    for tbot is on this webpage.

    Signed-off-by: Heiko Schocher

    Heiko Schocher
     
  • We know that uclass_get_device() and device_find_child_by_of_offset() do
    not return NULL for dev when they succeeds but coverity does not. Add an
    extra check to hopefully keep it happy.

    Signed-off-by: Simon Glass
    Reported-by: Coverity (CID: 163246)
    Fixes: 0753bc2 (dm: Simple Watchdog uclass)

    Simon Glass
     
  • We know that uclass_get_device() does not return NULL for dev when it
    succeeds but coverity does not. Add an extra check to hopefully keep it
    happy.

    Signed-off-by: Simon Glass
    Reported-by: Coverity (CID: 163247)
    Fixes: 0753bc2 (dm: Simple Watchdog uclass)

    Simon Glass
     
  • We know that uclass_get_device() does not return NULL for dev when it
    succeeds but coverity does not. Add an extra check to hopefully keep it
    happy.

    Signed-off-by: Simon Glass
    Reported-by: Coverity (CID: 161690)
    Fixes: 43b4156 (dm: sandbox: pwm: Add a basic pwm test)

    Simon Glass
     

09 Jun, 2017

1 commit


06 Jun, 2017

2 commits


01 Jun, 2017

12 commits


22 May, 2017

1 commit


11 May, 2017

1 commit


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
     

28 Apr, 2017

1 commit

  • Unfortunately a test for the PWM uclass was not included when it was
    submitted. This was noticed when trying to add more functionality:

    http://patchwork.ozlabs.org/patch/748172/

    Add a simple test to get us started.

    Signed-off-by: Simon Glass

    Simon Glass
     

15 Apr, 2017

4 commits


05 Apr, 2017

1 commit

  • Add a test for the correct device removal. Currently two different ways
    for device removal are supported:

    - Normal device removal via the device_remove() API
    - Removal via selective device driver flags (DM_FLAG_ACTIVE_DMA)

    This new test "remove_active_dma" adds tests cases for those both ways
    of removal. This is done by adding a new test driver, which has this
    flag set.

    Signed-off-by: Stefan Roese
    Cc: Simon Glass

    Stefan Roese