1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

efi_loader: decision on EFI_RT_SUPPORTED_RESET_SYSTEM

Move the logic determining which board supports reset at runtime to Kconfig.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
Heinrich Schuchardt
2019-07-05 18:12:16 +02:00
parent 0b1da53e53
commit 953661a912
2 changed files with 7 additions and 4 deletions

View File

@@ -95,10 +95,7 @@ efi_status_t efi_init_runtime_supported(void)
* This value must be synced with efi_runtime_detach_list
* as well as efi_runtime_services.
*/
#if CONFIG_IS_ENABLED(ARCH_BCM283X) || \
CONFIG_IS_ENABLED(FSL_LAYERSCAPE) || \
CONFIG_IS_ENABLED(SYSRESET_X86) || \
CONFIG_IS_ENABLED(PSCI_RESET)
#ifdef CONFIG_EFI_HAVE_RUNTIME_RESET
efi_runtime_services_supported |= EFI_RT_SUPPORTED_RESET_SYSTEM;
#endif
efi_runtime_services_supported |=