efi: imply FS_FAT for the loader and selftests
PATCH v2 1/1 efi: imply FS_FAT for the loader and selftests
EFI_LOADER and CMD_BOOTEFI_SELFTEST imply FAT, but FAT has no Kconfig definition. The FAT filesystem option is FS_FAT. FAT_WRITE depends on FS_FAT, so implying FAT_WRITE does not repair the missing implication.
Imply FS_FAT in both locations, restoring the intended default FAT support for the EFI loader and its selftests. Keep imply rather than select so the user's configuration choices remain respected.
The loader issue was found by our static-analysis tool and manually reviewed. Ilias pointed out the identical selftest reference.
---
Changes since v1:
- fix lib/efi_selftest/Kconfig as well, as requested by Ilias
- add the Fixes tag for the selftest implication
- rebase on current U-Boot master
Previous version:
https://lore.kernel.org/all/[email protected]/
lib/efi_loader/Kconfig | 2 +- lib/efi_selftest/Kconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
lib/efi_loader/Kconfig +1 -1
@@ -28,7 +28,7 @@ select OF_LIBFDT imply PARTITION_UUIDS select REGEX - imply FAT + imply FS_FAT imply FAT_WRITE imply FAT_RENAME imply USB_KEYBOARD_FN_KEYS
lib/efi_selftest/Kconfig +1 -1
@@ -3,7 +3,7 @@ depends on CMD_BOOTEFI imply PARTITIONS imply DOS_PARTITION - imply FAT + imply FS_FAT imply FAT_WRITE imply CMD_POWEROFF if PSCI_RESET || SYSRESET_PSCI help
base-commit: ece349ade2973e220f524ce59e59711cc919263f