audk/ArmPlatformPkg
Ard Biesheuvel 8b9025345e ArmPlatformPkg/NorFlashDxe: use one GUID plus index to identify flash banks
Currently, each flash bank controlled by ArmPlatformPkg/NorFlashDxe
has its own VendorHw GUID, and instances of NorFlashPlatformLib
describe each bank to the driver, along with the GUID for each.

This works ok for bare metal platforms, but it would be useful for
virtual platforms if we could obtain this information from a
device tree, which would require us to invent GUIDs on the fly,
given that the 'cfi-flash' binding does not include a GUID.

So instead, let's switch to a single GUID for all flash banks,
and update the driver's device path handling to include an index
to identify each bank uniquely.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Thomas Abraham <thomas.abraham@arm.com>
2018-11-26 17:53:46 +01:00
..
Drivers ArmPlatformPkg/NorFlashDxe: use one GUID plus index to identify flash banks 2018-11-26 17:53:46 +01:00
Include/Library ArmPlatformPkg: PL011 Dynamic clock freq Support 2018-06-13 11:45:50 +02:00
Library ArmPlatformPkg: Include PL011UartClock Lib 2018-06-15 12:57:13 +02:00
MemoryInitPei ArmPlatformPkg: Removing ipf which is no longer supported from edk2. 2018-06-29 16:19:36 +08:00
PlatformPei ArmPlatformPkg: Removing ipf which is no longer supported from edk2. 2018-06-29 16:19:36 +08:00
PrePeiCore ArmPlatformPkg: clear frame pointer in startup code 2018-11-19 11:10:09 -08:00
PrePi ArmPlatformPkg: clear frame pointer in startup code 2018-11-19 11:10:09 -08:00
Scripts ArmPlatformPkg/DS-5: fix 64-bit PE/COFF header parsing bug 2016-04-18 10:18:14 +02:00
ArmPlatformPkg.dec ArmPlatformPkg: PL011 Dynamic clock freq Support 2018-06-13 11:45:50 +02:00
ArmPlatformPkg.dsc ArmPlatformPkg: PL011 Dynamic clock freq Support 2018-06-13 11:45:50 +02:00