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
     

15 Dec, 2019

1 commit

  • SPL and TPL can access information about binman entries using link-time
    symbols but this is not available in U-Boot proper. Of course it could be
    made available, but the intention is to just read the device tree.

    Add support for this, so that U-Boot can locate entries.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng

    Simon Glass