Skip to content
Commit 09206380 authored by Matt Fleming's avatar Matt Fleming
Browse files

ia64/efi: Implement efi_enabled()



There's no good reason to keep efi_enabled() under CONFIG_X86 anymore,
since nothing about the implementation is specific to x86.

Set EFI feature flags in the ia64 boot path instead of claiming to
support all features. The old behaviour was actually buggy since
efi.memmap never points to a valid memory map, so we shouldn't be
claiming to support EFI_MEMMAP.

Fortunately, this bug was never triggered because EFI_MEMMAP isn't used
outside of arch/x86 currently, but that may not always be the case.

Reviewed-and-tested-by: default avatarTony Luck <tony.luck@intel.com>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent fabb37c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment