diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-04-25 22:06:55 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-04-28 11:34:01 +0200 |
commit | e3271c96ca7d01957b03b5f1e2bdc00e08fd7160 (patch) | |
tree | e9ca7b9b568b2047e9fd3e2e8057f3c54d92ba3a /drivers/firmware/efi/runtime-map.c | |
parent | efi/arm*/libstub: Wire up GOP protocol to 'struct screen_info' (diff) | |
download | linux-e3271c96ca7d01957b03b5f1e2bdc00e08fd7160.tar.xz linux-e3271c96ca7d01957b03b5f1e2bdc00e08fd7160.zip |
efi/arm*: Wire up 'struct screen_info' to efi-framebuffer platform device
This adds code to the ARM and arm64 EFI init routines to expose a platform
device of type 'efi-framebuffer' if 'struct screen_info' has been populated
appropriately from the GOP protocol by the stub. Since the framebuffer may
potentially be located in system RAM, make sure that the region is reserved
and marked MEMBLOCK_NOMAP.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Borislav Petkov <bp@alien8.de>
Cc: David Herrmann <dh.herrmann@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Jones <pjones@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/1461614832-17633-24-git-send-email-matt@codeblueprint.co.uk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/runtime-map.c')
0 files changed, 0 insertions, 0 deletions