]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: simplify ifdefs
authorStephen Warren <swarren@nvidia.com>
Thu, 30 Aug 2018 21:43:43 +0000 (15:43 -0600)
committerAlexander Graf <agraf@suse.de>
Sun, 23 Sep 2018 19:55:29 +0000 (21:55 +0200)
commit9b5e6396bff5ede22f880c38915da5538e8bd117
treed6e83929dc6c3d71548131c6ee65bc7fcff19c52
parent75cb1cd248690e2c1b1d46081e2a25e6d2aa57f6
efi_loader: simplify ifdefs

Use CONFIG_IS_ENABLED(EFI_LOADER) to avoid explicitly checking CONFIG_SPL
too. This simplifies the conditional.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/cpu/armv8/fsl-layerscape/fdt.c
arch/x86/lib/e820.c
include/efi_loader.h