public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-platforms][PATCH 0/2] RPi - add DT-only mode
@ 2020-05-10 21:34 Andrei Warkentin
  2020-05-10 21:34 ` [edk2-platforms][PATCH 1/2] RPi: move varstore structure defs to ConfigVars.h Andrei Warkentin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andrei Warkentin @ 2020-05-10 21:34 UTC (permalink / raw)
  To: devel; +Cc: ard.biesheuvel, leif, pete, philmd

Today the Pies can be booted in a way where only ACPI is exposed,
or both ACPI and DT are exposed.

This patch set adds one more mode - DT only, no ACPI. The target
audience is developers. When both are exposed, it's up to the OS
to decide which gets used, and that choice can differ between OSes.

Note: this does _not_ change defaults. Pi 3 still defaults to
ACPI + DT, while Pi 4 still defaults to ACPI only.

We don't really want to remove DT + ACPI mode - it is the default
on Pi 3, and removing it is bound to just annoy users - WoA and
NetBSD (voa UEFI) on Pi 3 only work with ACPI, while everything
else (Linux, FreeBSD) only work with DT. I'd make an analogy of
MPS and ACPI being exposed for the longest time ever together on
PCs.

Andrei Warkentin (2):
  RPi: move varstore structure defs to ConfigVars.h
  RPi: allow selecting DT-only mode

 .../RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c |  21 ++-
 .../Drivers/ConfigDxe/ConfigDxe.inf           |   2 +-
 .../Drivers/ConfigDxe/ConfigDxeHii.uni        |   9 +-
 .../Drivers/ConfigDxe/ConfigDxeHii.vfr        | 146 ++----------------
 Platform/RaspberryPi/Drivers/FdtDxe/FdtDxe.c  |   6 +-
 .../RaspberryPi/Drivers/FdtDxe/FdtDxe.inf     |   2 +-
 Platform/RaspberryPi/Include/ConfigVars.h     | 131 ++++++++++++++++
 Platform/RaspberryPi/RPi3/RPi3.dsc            |   8 +-
 Platform/RaspberryPi/RPi4/RPi4.dsc            |   8 +-
 Platform/RaspberryPi/RaspberryPi.dec          |   2 +-
 10 files changed, 180 insertions(+), 155 deletions(-)
 create mode 100644 Platform/RaspberryPi/Include/ConfigVars.h

-- 
2.17.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-05-11 11:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-10 21:34 [edk2-platforms][PATCH 0/2] RPi - add DT-only mode Andrei Warkentin
2020-05-10 21:34 ` [edk2-platforms][PATCH 1/2] RPi: move varstore structure defs to ConfigVars.h Andrei Warkentin
2020-05-11 10:57   ` Pete Batard
2020-05-10 21:34 ` [edk2-platforms][PATCH 2/2] RPi: allow selecting DT-only mode Andrei Warkentin
2020-05-11 10:58   ` Pete Batard
2020-05-11 11:25     ` Ard Biesheuvel
2020-05-11 11:28 ` [edk2-platforms][PATCH 0/2] RPi - add " Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox