14 Feb, 2018

21 commits


13 Feb, 2018

6 commits


11 Feb, 2018

3 commits


10 Feb, 2018

10 commits

  • efi_disk_register should return as status code (efi_status_t).

    Disks with zero blocks should be reported as 'not ready' without throwing
    an error.

    This patch solves a problem running OpenBSD on system configured with
    CONFIG_BLK=n (e.g. i.MX6).

    Reported-by: Jonathan Gray
    Signed-off-by: Heinrich Schuchardt
    Tested-by: Jonathan Gray
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt
     
  • Add stubs for UpdateCapsule, QueryCapsuleCapabilities, and
    QueryVariableInfo.

    Signed-off-by: Heinrich Schuchardt
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt
     
  • README.efi describes two different concepts:
    * U-Boot exposing the UEFI API
    * U-Boot running on top of UEFI.

    This patch splits the document in two.
    Religious references are removed.

    The separation of the concepts makes sense before detailing the internals
    of U-Boot exposing the UEFI API in a future patch.

    Signed-off-by: Heinrich Schuchardt
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt
     
  • Change the return type of efi_driver_init() to efi_status_t.

    efi_driver_init() calls efi_add_driver() which returns an efi_status_t
    value. efi_driver_init() should not subject this value to a conversion to
    int losing high bits on 64bit systems.

    Signed-off-by: Heinrich Schuchardt
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt
     
  • Currently the UEFI revision number in the system table header is set to
    2.0.5. This version number does not refer to any existing version of the
    UEFI standard.

    Set the revision number to 2.7.

    Signed-off-by: Heinrich Schuchardt
    Reviewed-by: Mark Kettenis
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt
     
  • Currently we set the function pointer for the CreateEventEx boot service
    to NULL. When called this would lead to an immediate failure.

    A function stub is provided which handles the case that the boot service
    is called without an event group and returns EFI_UNSUPPORTED otherwise.

    Signed-off-by: Heinrich Schuchardt
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt
     
  • For EFI binaries we need special CFLAGS.

    They were specified for an object file that since has been replaced.

    Signed-off-by: Heinrich Schuchardt
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt
     
  • The bootefi command is missing in the online help for
    bootefi bootmgr.

    Signed-off-by: Heinrich Schuchardt
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt
     
  • Before the patch an undefined constant EFI_SUBSYSTEM was used in the
    crt0 code. The current version of binutils does not swallow the error.

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888403

    The necessary constant IMAGE_SUBSYSTEM_EFI_APPLICATION is already
    defined in pe.h. So let's factor out asm-generic/pe.h for the
    image subsystem constants and use it in our assembler code.

    IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER does not exist in the specification
    let's use IMAGE_SUBSYSTEM_EFI_ROM instead.

    The include pe.h is only used in code maintained by Alex so let him be the
    maintainer here too.

    Reported-by: Andre Przywara
    Signed-off-by: Heinrich Schuchardt
    Tested-by: Vagrant Cascadian
    Signed-off-by: Alexander Graf

    Heinrich Schuchardt
     
  • To make this driver easier to be reused, dual-license DDR driver.

    Signed-off-by: York Sun
    CC: Simon Glass
    CC: Tom Rini
    CC: Heinrich Schuchardt
    CC: Thomas Schaefer
    CC: Masahiro Yamada
    CC: Robert P. J. Day
    CC: Alexander Merkle
    CC: Joakim Tjernlund
    CC: Curt Brune
    CC: Valentin Longchamp
    CC: Wolfgang Denk
    CC: Anatolij Gustschin
    CC: Ira W. Snyder
    CC: Marek Vasut
    CC: Kyle Moffett
    CC: Sebastien Carlier
    CC: Stefan Roese
    CC: Peter Tyser
    CC: Paul Gortmaker
    CC: Peter Tyser
    CC: Jean-Christophe PLAGNIOL-VILLARD

    York Sun