06 Feb, 2020

1 commit

  • At present dm/device.h includes the linux-compatible features. This
    requires including linux/compat.h which in turn includes a lot of headers.
    One of these is malloc.h which we thus end up including in every file in
    U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
    which needs to use the system malloc() in some files.

    Move the compatibility features into a separate header file.

    Signed-off-by: Simon Glass

    Simon Glass
     

17 Nov, 2018

1 commit


01 Nov, 2018

1 commit

  • Data abort was occurring when using "w1 bus" with a DS24B33 present.

    The abort occurred in the ds24xxx_probe() because the struct w1_device
    pointer was NULL. This is because that structure is allocated by
    the parent device uclass (by .per_child_platdata_auto_alloc_size)
    and thus the correct accessor is dev_get_parent_platdata() not
    dev_get_platdata()

    Signed-off-by: Martin Fuzzey
    Reviewed-by: Eugen Hristev

    Martin Fuzzey
     

29 Sep, 2018

3 commits