From patchwork Thu Mar 19 16:56:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 243939 List-Id: U-Boot discussion From: xypron.glpk at gmx.de (Heinrich Schuchardt) Date: Thu, 19 Mar 2020 16:56:30 +0000 Subject: [PATCH 0/2] efi_loader: detect EFI system partition Message-ID: <20200319165632.14014-1-xypron.glpk@gmx.de> For the implementation of capsule updates we need to know where the EFI system partition is located. With the patches the first available EFI system partition is determined both for MBR and GPT partition tables. Heinrich Schuchardt (2): part: detect EFI system partition efi_loader: identify EFI system partition disk/part_dos.c | 10 ++++++++-- disk/part_efi.c | 12 ++++++++---- include/efi_loader.h | 7 +++++++ include/part.h | 11 ++++++++++- lib/efi_loader/efi_disk.c | 20 ++++++++++++++++++++ 5 files changed, 53 insertions(+), 7 deletions(-) --- 2.20.1