From 4f1dacd43fcb5d4e97407df51b48dfde5e920078 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Tue, 12 Jun 2018 08:36:16 -0700 Subject: x86: efi: Refactor the directory of EFI app and payload support At present the EFI application and payload support codes in the x86 directory is distributed in a hybrid way. For example, the Kconfig options for both app and payload are in arch/x86/lib/efi/Kconfig, but the source codes in the same directory get built only for CONFIG_EFI_STUB. This refactors the codes by consolidating all the EFI support codes into arch/x86/cpu/efi, just like other x86 targets. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- arch/x86/cpu/efi/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 arch/x86/cpu/efi/Kconfig (limited to 'arch/x86/cpu/efi/Kconfig') diff --git a/arch/x86/cpu/efi/Kconfig b/arch/x86/cpu/efi/Kconfig new file mode 100644 index 0000000000..e0975d34d3 --- /dev/null +++ b/arch/x86/cpu/efi/Kconfig @@ -0,0 +1,11 @@ +if EFI + +config SYS_CAR_ADDR + hex + default 0x100000 + +config SYS_CAR_SIZE + hex + default 0x20000 + +endif -- cgit