summary refs log tree commit diff
path: root/drivers/firmware/efi/Kconfig
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2020-04-15 12:54:18 -0700
committerArd Biesheuvel <ardb@kernel.org>2020-04-23 14:16:28 +0200
commit2e0eb483c058dd013be8e3d0ec1767be531485a2 (patch)
tree7c81263035dfd544ac3411c4285c399f04b8f1ee /drivers/firmware/efi/Kconfig
parentae83d0b416db002fe95601e7f97f64b59514d936 (diff)
downloadlinux-2e0eb483c058dd013be8e3d0ec1767be531485a2.tar.gz
efi/libstub: Move arm-stub to a common file
Most of the arm-stub code is written in an architecture independent manner.
As a result, RISC-V can reuse most of the arm-stub code.

Rename the arm-stub.c to efi-stub.c so that ARM, ARM64 and RISC-V can use it.
This patch doesn't introduce any functional changes.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Link: https://lore.kernel.org/r/20200415195422.19866-2-atish.patra@wdc.com
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/Kconfig')
-rw-r--r--drivers/firmware/efi/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig
index 613828d3f106..2a2b2b96a1dc 100644
--- a/drivers/firmware/efi/Kconfig
+++ b/drivers/firmware/efi/Kconfig
@@ -106,12 +106,12 @@ config EFI_PARAMS_FROM_FDT
 config EFI_RUNTIME_WRAPPERS
 	bool
 
-config EFI_ARMSTUB
+config EFI_GENERIC_STUB
 	bool
 
 config EFI_ARMSTUB_DTB_LOADER
 	bool "Enable the DTB loader"
-	depends on EFI_ARMSTUB
+	depends on EFI_GENERIC_STUB
 	default y
 	help
 	  Select this config option to add support for the dtb= command