efi_loader: Fix Kconfig logic around OF_LIBFDT
Given that OF_LIBFDT is library functionality, the feature of EFI_LOADER needs to select OF_LIBFDT rather than depend on it being already enabled. Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -2,7 +2,7 @@ menu "UEFI Support"
|
|||||||
|
|
||||||
config EFI_LOADER
|
config EFI_LOADER
|
||||||
bool "Support running UEFI applications"
|
bool "Support running UEFI applications"
|
||||||
depends on OF_LIBFDT && ( \
|
depends on ( \
|
||||||
ARM && (SYS_CPU = arm1136 || \
|
ARM && (SYS_CPU = arm1136 || \
|
||||||
SYS_CPU = arm1176 || \
|
SYS_CPU = arm1176 || \
|
||||||
SYS_CPU = armv7 || \
|
SYS_CPU = armv7 || \
|
||||||
@@ -21,6 +21,7 @@ config EFI_LOADER
|
|||||||
select EVENT_DYNAMIC
|
select EVENT_DYNAMIC
|
||||||
select LIB_UUID
|
select LIB_UUID
|
||||||
select LMB
|
select LMB
|
||||||
|
select OF_LIBFDT
|
||||||
imply PARTITION_UUIDS
|
imply PARTITION_UUIDS
|
||||||
select REGEX
|
select REGEX
|
||||||
imply FAT
|
imply FAT
|
||||||
|
Reference in New Issue
Block a user