audk/EmbeddedPkg
Ard Biesheuvel 779cc439e8 EmbeddedPkg: add DT platform driver to select between DT and ACPI
As a follow up to the changes proposed by Laszlo to make ACPI and DT
mutually exclusive on ArmVirtQemu, this patch proposes a DT platform
DXE driver that either installs the NULL protocol PlatformHasAcpiGuid,
or installs the FV embedded DTB binary as a configuration table under
the appropriate GUID, depending on a preference setting recorded as
a UEFI variable, and configurable via a HII screen.

The DTB binary can be embedded in the firmware image by adding the
following to the platform .fdf file:

  FILE FREEFORM = 25462CDA-221F-47DF-AC1D-259CFAA4E326 {
    SECTION RAW = SomePkg/path/to/foo.dtb
  }

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2017-03-28 18:58:15 +01:00
..
Application/AndroidFastboot EmbeddedPkg/AndroidFastboot: drop dependency on the LinuxLoader 2016-11-25 12:56:10 +00:00
Drivers EmbeddedPkg: add DT platform driver to select between DT and ACPI 2017-03-28 18:58:15 +01:00
Ebl EmbeddedPkg/Ebl: eliminate deprecated string function calls 2016-10-28 15:53:59 +01:00
EblExternCmd ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
EmbeddedMonotonicCounter ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
GdbStub EmbeddedPkg: Fix typos in comments 2016-10-19 16:31:58 +01:00
Include EmbeddedPkg: add DT platform driver to select between DT and ACPI 2017-03-28 18:58:15 +01:00
Library EmbeddedPkg: introduce PlatformHasAcpiLib 2017-03-28 14:07:38 +02:00
MetronomeDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
RealTimeClockRuntimeDxe EmbeddedPkg/RTC: use returned status at init-time 2016-03-25 07:09:49 +01:00
ResetRuntimeDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Scripts/LauterbachT32 EmbeddedPkg: Rectify file modes 2016-02-02 11:42:51 +00:00
SimpleTextInOutSerial ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
TemplateSec ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Universal/MmcDxe EmbeddedPkg/MmcDxe: expand to support multiple blocks 2016-11-24 16:29:04 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
EmbeddedPkg.dec EmbeddedPkg: add DT platform driver to select between DT and ACPI 2017-03-28 18:58:15 +01:00
EmbeddedPkg.dsc EmbeddedPkg: Remove use of IntelFrameworkModulePkg legacy libs 2016-12-05 15:53:30 +00:00
EmbeddedPkg.fdf ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
License.txt EmbeddedPkg: Rectify file modes 2016-02-02 11:42:51 +00:00