]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/efi: move arm64 specific stub C code to libstub
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 23 Oct 2015 14:48:14 +0000 (16:48 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 30 Oct 2015 16:02:52 +0000 (16:02 +0000)
commitd54339a21d13400fabff75d0d499d43810a84fc2
treef4f2eea9505db363050ae55eb80b2317b2446eb9
parent446e5f822b82867a83cfac12dd1485bdc2713379
arm64/efi: move arm64 specific stub C code to libstub

Now that we added special handling to the C files in libstub, move
the one remaining arm64 specific EFI stub C file to libstub as
well, so that it gets the same treatment. This should prevent future
changes from resulting in binaries that may execute incorrectly in
UEFI context.

With efi-entry.S the only remaining EFI stub source file under
arch/arm64, we can also simplify the Makefile logic somewhat.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/Makefile
arch/arm64/kernel/efi-stub.c [deleted file]
drivers/firmware/efi/libstub/Makefile
drivers/firmware/efi/libstub/arm64-stub.c [new file with mode: 0644]