Merge tag 'efi-2020-04-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
authorTom Rini <trini@konsulko.com>
Wed, 8 Jan 2020 23:57:11 +0000 (18:57 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jan 2020 23:57:11 +0000 (18:57 -0500)
Pull request for UEFI sub-system for efi-2020-04-rc1

This pull request provides:

* support for FIT images for UEFI binaries
* drivers for hardware random number generators
* an implementation of the EFI_RNG_PROTOCOL
* a sub-command for efidebug to display configuration tables

1  2 
cmd/Kconfig
drivers/Makefile

diff --combined cmd/Kconfig
index 5f2562bbeade423f0a097402504be3bb5dcd98c4,7a78343e6b324f9b93a8135d91b897305ae7410f..26c6551ed6162273049cfd660b4b44c69d8bc23e
@@@ -259,6 -259,13 +259,13 @@@ config CMD_BOOT
        help
          Boot an application image from the memory.
  
+ config BOOTM_EFI
+       bool "Support booting UEFI FIT images"
+       depends on CMD_BOOTEFI && CMD_BOOTM && FIT
+       default y
+       help
+         Support booting UEFI FIT images via the bootm command.
  config CMD_BOOTZ
        bool "bootz"
        help
@@@ -294,7 -301,6 +301,7 @@@ config BOOTM_OPENRTO
  
  config BOOTM_OSE
        bool "Support booting Enea OSE images"
 +      depends on (ARM && (ARM64 || CPU_V7A || CPU_V7R) || SANDBOX || PPC || X86)
        depends on CMD_BOOTM
        help
          Support booting Enea OSE images via the bootm command.
@@@ -1666,6 -1672,13 +1673,13 @@@ config CMD_GETTIM
          milliseconds. See also the 'bootstage' command which provides more
          flexibility for boot timing.
  
+ config CMD_RNG
+       bool "rng command"
+       depends on DM_RNG
+       select HEXDUMP
+       help
+         Print bytes from the hardware random number generator.
  # TODO: rename to CMD_SLEEP
  config CMD_MISC
        bool "sleep"
diff --combined drivers/Makefile
index 44a08da602acec453b66cde422809e7bb3928dc4,8eec4e8176c0cfb29fdd2fc011745d8bc54df2ed..e7b5d22b1da13ff0f07d84d051ea85c54648cde7
@@@ -1,6 -1,5 +1,6 @@@
  # SPDX-License-Identifier: GPL-2.0+
  
 +obj-$(CONFIG_$(SPL_TPL_)CACHE) += cache/
  obj-$(CONFIG_$(SPL_TPL_)CLK) += clk/
  obj-$(CONFIG_$(SPL_TPL_)DM) += core/
  obj-$(CONFIG_$(SPL_TPL_)DFU) += dfu/
@@@ -27,7 -26,6 +27,7 @@@ obj-$(CONFIG_$(SPL_)DM_MAILBOX) += mail
  obj-$(CONFIG_$(SPL_)REMOTEPROC) += remoteproc/
  obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm/
  obj-$(CONFIG_$(SPL_TPL_)ACPI_PMC) += power/acpi_pmc/
 +obj-$(CONFIG_$(SPL_)BOARD) += board/
  
  ifndef CONFIG_TPL_BUILD
  ifdef CONFIG_SPL_BUILD
@@@ -77,6 -75,7 +77,6 @@@ obj-y += ata
  obj-$(CONFIG_DM_DEMO) += demo/
  obj-$(CONFIG_BIOSEMU) += bios_emulator/
  obj-y += block/
 -obj-y += board/
  obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
  obj-y += cache/
  obj-$(CONFIG_CPU) += cpu/
@@@ -117,4 -116,5 +117,5 @@@ obj-$(CONFIG_W1_EEPROM) += w1-eeprom
  
  obj-$(CONFIG_MACH_PIC32) += ddr/microchip/
  obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock/
+ obj-$(CONFIG_DM_RNG) += rng/
  endif