20 Feb, 2020

1 commit


11 Feb, 2020

1 commit


07 Feb, 2020

2 commits

  • At present driver model supports the IRQ uclass but there is no way to
    request a particular interrupt for a driver.

    Add a mechanism, similar to clock and reset, to read the interrupts
    required by a device from the device tree and to request those interrupts.

    U-Boot itself does not have interrupt-driven handlers, so just provide a
    means to read and clear an interrupt. This can be useful to handle
    peripherals which must use an interrupt to determine when data is
    available, for example.

    Bring over the basic binding file as well, from Linux v5.4. Note that the
    older binding is not supported in U-Boot; the newer 'special form' must be
    used.

    Add a simple test of the new functionality.

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

    Simon Glass
     
  • There can be different types of interrupt controllers in a system and some
    drivers may need to distinguish between these. In general this can be
    handled using the device tree by adding the interrupt information to
    device nodes.

    However on x86 devices we have interrupt controllers which are not tied
    to any particular device and not really used in U-Boot. These still need
    to be inited, so a convenient method is to give each controller a type
    and allow a particular controller type to be probed.

    Add support for this in sandbox along with a test.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    [bmeng: remove the new bland line at EOF of test/dm/irq.c]
    Signed-off-by: Bin Meng

    Simon Glass
     

06 Feb, 2020

17 commits


18 Jan, 2020

1 commit


09 Jan, 2020

1 commit


08 Jan, 2020

2 commits


18 Dec, 2019

1 commit


17 Dec, 2019

2 commits


15 Dec, 2019

4 commits


10 Dec, 2019

1 commit


03 Dec, 2019

3 commits


18 Nov, 2019

1 commit


14 Nov, 2019

2 commits

  • Pull request for UEFI sub-system for efi-2020-01-rc3

    The following changes for the UEFI subsystem are provided:

    * allow building UEFI binaries on the sandbox
    * enable access to file systems without partition tables
    * correctly check the return value of efi_dp_from_file()

    Tom Rini
     
  • Compiling arch/sandbox/cpu/os.c results in an error

    ../arch/sandbox/cpu/os.c: In function ‘os_find_text_base’:
    ../arch/sandbox/cpu/os.c:823:12: error: cast to pointer from
    integer of different size [-Werror=int-to-pointer-cast]
    823 | base = (void *)addr;
    | ^
    cc1: all warnings being treated as errors

    The size of void* differs from that of unsigned long long on 32bit
    systems.

    Signed-off-by: Heinrich Schuchardt
    Reviewed-by: Simon Glass

    Heinrich Schuchardt
     

13 Nov, 2019

1 commit