Instead of omitting some drivers that are known to break the Foundation
model when ARM_FOUNDATION_FVP is defined, fix those drivers so that they
simply fail to load without interfering with the boot.

Changes since v1:
- Print a diagnostic at EFI_D_WARN level that we are about to access the
  PrimeCell ID registers. This is currently not required, since the Foundation
  model deals gracefully with the reads to the unpopulated range, but this may
  change in future versions
- Added Leif's R-b
- Rebased onto latest upstream

Ard Biesheuvel (3):
  ArmPlatformPkg/PL180MciDxe: check PrimeCell ID before initializing
  ArmPlatformPkg/LcdGraphicsOutputDxe: check PrimeCell ID before
    initializing
  ArmPlatformPkg/FVP: unify support for Foundation and Base models

 ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.dsc          | 13 
------------
 ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.fdf          |  4 ----
 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.c |  5 +++++
 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.h |  2 +-
 ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/PL111Lcd.c             | 22 
++++++++++++++++++++
 ArmPlatformPkg/Drivers/PL180MciDxe/PL180Mci.c                      | 16 
++++++++++++++
 ArmPlatformPkg/Drivers/PL180MciDxe/PL180Mci.h                      | 17 
+++++++++++++++
 ArmPlatformPkg/Include/Drivers/PL111Lcd.h                          |  9 
++++++++
 8 files changed, 70 insertions(+), 18 deletions(-)

-- 
1.9.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to