x86/efi/bgrt: Move efi-bgrt handling out of arch/x86
authorBhupesh Sharma <bhsharma@redhat.com>
Tue, 4 Apr 2017 16:02:40 +0000 (17:02 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 5 Apr 2017 10:27:24 +0000 (12:27 +0200)
commit75def552bb1e0d39918df31b86f7d09e754ea0fc
tree36d2c1b0325ca0d846ef63ffbd689fffe5825a82
parent24d7c494ce46d5bb6c8fd03e88a48ae249ec1492
x86/efi/bgrt: Move efi-bgrt handling out of arch/x86

Now with open-source boot firmware (EDK2) supporting ACPI BGRT table
addition even for architectures like AARCH64, it makes sense to move
out the 'efi-bgrt.c' file and supporting infrastructure from 'arch/x86'
directory and house it inside 'drivers/firmware/efi', so that this common
code can be used across architectures.

Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20170404160245.27812-7-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/platform/efi/Makefile
drivers/firmware/efi/Makefile
drivers/firmware/efi/efi-bgrt.c [moved from arch/x86/platform/efi/efi-bgrt.c with 100% similarity]