From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 11 Jun 2018 08:54:03 -0600 Subject: [U-Boot] [PATCH 08/18] x86: efi: Refactor the directory of EFI app and payload support In-Reply-To: <1528637118-32739-9-git-send-email-bmeng.cn@gmail.com> References: <1528637118-32739-1-git-send-email-bmeng.cn@gmail.com> <1528637118-32739-9-git-send-email-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10 June 2018 at 05:25, Bin Meng wrote: > 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 > --- > > arch/x86/Kconfig | 3 +-- > arch/x86/cpu/Makefile | 2 +- > arch/x86/{lib => cpu}/efi/Kconfig | 0 > arch/x86/cpu/efi/Makefile | 7 +++++++ > arch/x86/{lib => cpu}/efi/car.S | 0 > arch/x86/{lib/efi/efi.c => cpu/efi/payload.c} | 0 > arch/x86/lib/Makefile | 1 - > arch/x86/lib/efi/Makefile | 7 ------- > 8 files changed, 9 insertions(+), 11 deletions(-) > rename arch/x86/{lib => cpu}/efi/Kconfig (100%) > rename arch/x86/{lib => cpu}/efi/car.S (100%) > rename arch/x86/{lib/efi/efi.c => cpu/efi/payload.c} (100%) > delete mode 100644 arch/x86/lib/efi/Makefile Reviewed-by: Simon Glass