From: Leif Lindholm <leif.lindholm@linaro.org>
To: grub-devel@gnu.org
Cc: pjones@redhat.com, agraf@suse.de
Subject: [PATCH 0/3] share an efi Linux loader between arm and arm64
Date: Mon, 22 Aug 2016 21:57:37 +0100 [thread overview]
Message-ID: <1471899460-13596-1-git-send-email-leif.lindholm@linaro.org> (raw)
Since we now have UEFI arm support in the upstream kernel, tweak the
fdt module and the arm64 efi linux loader to be generically useful
for both 64-bit and 32-bit platforms.
1/3 turns the EFI bits of the fdt module into a generic feature
rather than just a part of the arm64 linux loader.
2/3 updates the arm64 linux loader with some macros, structs and
type fixes to permit it to be used in a generic fashion. It
also updates the arm64 xen loader to align with the new
interfaces.
3/3 migrates the 32-bit arm efi port to use this new generic linux
loader and fdt helpers. This _does_ in this form drop the
ability to load non-EFI-stub linux kernels on arm efi platforms
(but leaves U-Boot unchanged).
Leif Lindholm (3):
move efi fdt helper library
make arm64 linux loader more generic
Reuse arm64 efi linux loader for arm
grub-core/Makefile.core.def | 5 +-
grub-core/kern/arm/efi/misc.c | 30 ------
grub-core/loader/arm/linux.c | 48 +---------
grub-core/loader/arm64/fdt.c | 185 -------------------------------------
grub-core/loader/arm64/linux.c | 34 ++++---
grub-core/loader/arm64/xen_boot.c | 15 +--
grub-core/loader/efi/fdt.c | 186 ++++++++++++++++++++++++++++++++++++++
include/grub/arm/efi/loader.h | 1 -
include/grub/arm/efi/memory.h | 3 +
include/grub/arm/linux.h | 43 +++++----
include/grub/arm64/efi/memory.h | 3 +
include/grub/arm64/fdtload.h | 35 -------
include/grub/arm64/linux.h | 13 +--
include/grub/efi/fdtload.h | 32 +++++++
include/grub/efi/pe32.h | 2 +
15 files changed, 284 insertions(+), 351 deletions(-)
delete mode 100644 grub-core/loader/arm64/fdt.c
create mode 100644 grub-core/loader/efi/fdt.c
delete mode 100644 include/grub/arm64/fdtload.h
create mode 100644 include/grub/efi/fdtload.h
--
2.1.4
next reply other threads:[~2016-08-22 20:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-22 20:57 Leif Lindholm [this message]
2016-08-22 20:57 ` [PATCH 1/3] move efi fdt helper library Leif Lindholm
2016-08-22 20:57 ` [PATCH 2/3] make arm64 linux loader more generic Leif Lindholm
2016-08-22 20:57 ` [PATCH 3/3] Reuse arm64 efi linux loader for arm Leif Lindholm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1471899460-13596-1-git-send-email-leif.lindholm@linaro.org \
--to=leif.lindholm@linaro.org \
--cc=agraf@suse.de \
--cc=grub-devel@gnu.org \
--cc=pjones@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).