grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] share an efi Linux loader between arm and arm64


From: Leif Lindholm
Subject: [PATCH 0/3] share an efi Linux loader between arm and arm64
Date: Mon, 22 Aug 2016 21:57:37 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]