audk/Omap35xxPkg
Laszlo Ersek 534397e538 Omap35xxPkg/InterruptDxe: replace CPU Arch Protocol depex with notify
In a later patch, we'll modify the depex of
"ArmPkg/Drivers/CpuDxe/CpuDxe.inf" (currently "AFTER gArmGicDxeFileGuid")
to "gHardwareInterruptProtocolGuid OR gHardwareInterrupt2ProtocolGuid".

Considering platforms that include "ArmPkg/Drivers/CpuDxe/CpuDxe.inf",
there are two classes:

(1) The platform gets its gHardwareInterruptProtocolGuid or
    gHardwareInterrupt2ProtocolGuid instance from
    "ArmPkg/Drivers/ArmGic/ArmGicDxe.inf". For such platforms, the
    upcoming CpuDxe change is not a problem, because commit 61a7b0ec63
    made ArmGicDxe wait for the CPU Arch Protocol with a protocol notify.

(2) The platform gets its hardware interrupt protocol(s) from a different
    driver that has a hard depex on the CPU Arch Protocol. The upcoming
    CpuDxe change would lead to a loop in the DXE dispatch order.

In the edk2 tree, only "BeagleBoardPkg/BeagleBoardPkg.dsc" falls in class
(2), and the driver in question is "Omap35xxPkg/InterruptDxe". Port (most
of) commit 61a7b0ec63 to it.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Steve Capper <steve.capper@linaro.org>
Cc: Supreeth Venkatesh <Supreeth.Venkatesh@arm.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-04-12 21:24:12 +02:00
..
Flash ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Gpio ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Include Omap35xxPkg, BeagleBoardPkg: Use Pcd for INTERRUPT_BASE 2016-12-05 17:21:40 +00:00
InterruptDxe Omap35xxPkg/InterruptDxe: replace CPU Arch Protocol depex with notify 2018-04-12 21:24:12 +02:00
LcdGraphicsOutputDxe ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
Library Omap35xxPkg: add GetTimeInNanoSecond implementation 2017-11-30 14:32:30 +00:00
MMCHSDxe Omap35xxPkg/MMCHSDxe: fix device path initializer 2016-10-26 08:55:10 +01:00
MmcHostDxe Omap35xxPkg: Rectify file modes 2016-02-02 11:43:00 +00:00
PciEmulation Omap35xxPkg/PciEmulation: port to new non-discoverable device infrastructure 2016-12-18 17:31:47 +00:00
SmbusDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
TPS65950Dxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
TimerDxe ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Omap35xxPkg.dec ARM Packages: Removed trailing spaces 2014-08-19 13:29:52 +00:00
Omap35xxPkg.dsc EmbeddedPkg Omap35xxPkg: remove EBL and associated libraries 2017-11-26 10:58:33 +00:00