09 Feb, 2018

2 commits

  • config_fallbacks.h has some logic that sets HAVE_BLOCK_DEVICE
    based on a list of enabled options. Moving HAVE_BLOCK_DEVICE to
    Kconfig allows us to drastically shrink the logic in
    config_fallbacks.h

    Signed-off-by: Adam Ford
    [trini: Rename HAVE_BLOCK_DEVICE to CONFIG_BLOCK_DEVICE]
    Signed-off-by: Tom Rini

    Adam Ford
     
  • config_fallback.h has some logic that checks a variety of options
    and selects LIB_UUID if it hasn't already been selected. This
    will all LIB_UUID in Kconfig and select this option for the list
    of options to allow us to remove the logic from fallbacks

    Signed-off-by: Adam Ford

    Adam Ford
     

29 Jan, 2018

1 commit

  • We have 2 users of the EFI headers: efi_loader and the EFI stub. Efi_loader
    always expects that the bitness of the definitions it uses is identical to
    the execution.

    The EFI stub however allows to run x86_64 U-Boot on 32bit EFI and the other
    way around, so it allows for different bitness of EFI definitions and U-Boot
    environment.

    This patch explicitly requests via Kconfig that efi_loader can only be enabled
    if the bitness is identical. Because we can run efi_loader on x86_64 without
    EFI stub enabled, it also ensures that this case propagates the correct ABI
    constraints.

    Signed-off-by: Alexander Graf

    Alexander Graf
     

15 Nov, 2016

2 commits

  • Enable this so that EFI applications (notably grub) can be run under U-Boot
    on x86 platforms.

    At present the 'hello world' EFI application is not supported for the
    qemu-x86_efi_payload64 board. That board builds a payload consisting of a
    64-bit header and a 32-bit U-Boot, which is incompatible with the way the
    EFI loader builds its EFI application. The following error is obtained:

    x86_64-linux-ld.bfd: i386 architecture of input file
    `lib/efi_loader/helloworld.o' is incompatible with i386:x86-64 output

    This could be corrected with additional Makefile rules. For now, this
    feature is disabled for that board.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    [agraf: drop hello kconfig bits]
    Signed-off-by: Alexander Graf

    Simon Glass
     
  • This line is shown as

    depends on (ARM64 ||\302\240ARM) && OF_LIBFDT

    on my Emacs. Use ASCII characters only.

    Assuming it is (ARM64 || ARM), remove the redundancy.
    Unlike Linux, CONFIG_ARM includes CONFIG_ARM64 in U-Boot.

    Signed-off-by: Masahiro Yamada
    Signed-off-by: Alexander Graf

    Masahiro Yamada
     

28 May, 2016

1 commit

  • Some hardware that is supported by U-Boot can not handle DMA above 32bits.
    For these systems, we need to come up with a way to expose the disk interface
    in a safe way.

    This patch implements EFI specific bounce buffers. For non-EFI cases, this
    apparently was no issue so far, since we can just define our environment
    variables conveniently.

    Signed-off-by: Alexander Graf

    Alexander Graf
     

16 Mar, 2016

1 commit

  • Now that we have all the bits and pieces ready for EFI payload loading
    support, hook them up in Makefiles and KConfigs so that we can build.

    Signed-off-by: Alexander Graf
    Reviewed-by: Simon Glass
    Tested-by: Simon Glass
    [trini: Enable only when we of OF_LIBFDT, disable on kwb and colibri_pxa270]
    Signed-off-by: Tom Rini

    Alexander Graf