mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 07:30:26 +09: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:
parent
0b1da53e53
commit
953661a912
@ -101,4 +101,10 @@ config EFI_PLATFORM_LANG_CODES
|
|||||||
RFC 4646 format, e.g. "en-US;de-DE". The first language code is used
|
RFC 4646 format, e.g. "en-US;de-DE". The first language code is used
|
||||||
to initialize the PlatformLang variable.
|
to initialize the PlatformLang variable.
|
||||||
|
|
||||||
|
config EFI_HAVE_RUNTIME_RESET
|
||||||
|
# bool "Reset runtime service is available"
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
depends on ARCH_BCM283X || FSL_LAYERSCAPE || PSCI_RESET || SYSRESET_X86
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -95,10 +95,7 @@ efi_status_t efi_init_runtime_supported(void)
|
|||||||
* This value must be synced with efi_runtime_detach_list
|
* This value must be synced with efi_runtime_detach_list
|
||||||
* as well as efi_runtime_services.
|
* as well as efi_runtime_services.
|
||||||
*/
|
*/
|
||||||
#if CONFIG_IS_ENABLED(ARCH_BCM283X) || \
|
#ifdef CONFIG_EFI_HAVE_RUNTIME_RESET
|
||||||
CONFIG_IS_ENABLED(FSL_LAYERSCAPE) || \
|
|
||||||
CONFIG_IS_ENABLED(SYSRESET_X86) || \
|
|
||||||
CONFIG_IS_ENABLED(PSCI_RESET)
|
|
||||||
efi_runtime_services_supported |= EFI_RT_SUPPORTED_RESET_SYSTEM;
|
efi_runtime_services_supported |= EFI_RT_SUPPORTED_RESET_SYSTEM;
|
||||||
#endif
|
#endif
|
||||||
efi_runtime_services_supported |=
|
efi_runtime_services_supported |=
|
||||||
|
Loading…
Reference in New Issue
Block a user