public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: edk2-devel@lists.01.org, leif.lindholm@linaro.org
Cc: daniel.thompson@linaro.org, Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH 0/2] PEI phase boot mode setting
Date: Wed,  1 Nov 2017 13:11:43 +0000	[thread overview]
Message-ID: <20171101131145.16459-1-ard.biesheuvel@linaro.org> (raw)

Two patches to allow a platform to set the boot mode from its PlatformPeiLib
implementation using services exposed by a GPIO PPI. These are needed to
implement a 'clear NVRAM' feature based on a DIP switch on the Developer Box
platform.

Ard Biesheuvel (2):
  EmbeddedPkg: introduce GPIO PPI
  ArmPlatformPkg/PlatformPeim: allow PlatformPeiLib to set the boot mode

 ArmPlatformPkg/PlatformPei/PlatformPeim.c   |  12 +-
 ArmPlatformPkg/PlatformPei/PlatformPeim.inf |   1 +
 EmbeddedPkg/EmbeddedPkg.dec                 |   3 +
 EmbeddedPkg/Include/Ppi/EmbeddedGpio.h      | 151 ++++++++++++++++++++
 4 files changed, 162 insertions(+), 5 deletions(-)
 create mode 100644 EmbeddedPkg/Include/Ppi/EmbeddedGpio.h

-- 
2.11.0



             reply	other threads:[~2017-11-01 13:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01 13:11 Ard Biesheuvel [this message]
2017-11-01 13:11 ` [PATCH 1/2] EmbeddedPkg: introduce GPIO PPI Ard Biesheuvel
2017-11-05  5:38   ` Leif Lindholm
2017-11-05 10:05     ` Ard Biesheuvel
2017-11-05 16:21       ` Ard Biesheuvel
2017-11-01 13:11 ` [PATCH 2/2] ArmPlatformPkg/PlatformPeim: allow PlatformPeiLib to set the boot mode Ard Biesheuvel
2017-11-05  5:43   ` 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-list 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=20171101131145.16459-1-ard.biesheuvel@linaro.org \
    --to=devel@edk2.groups.io \
    /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