The Renesas PD720202 controller on the Celloboard does not include an external ROM to contain the device firmware, and so it is up to the system firmware to upload such a device firmware before the XHCI driver can attach to it.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel ard.biesheuvel@linaro.org --- Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc | 4 ++++ Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf | 10 ++++++++++ 2 files changed, 14 insertions(+)
diff --git a/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc b/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc index 0a987cc3b118..3cccf2d3a9fc 100644 --- a/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc +++ b/Platforms/AMD/Styx/CelloBoard/CelloBoard.dsc @@ -659,3 +659,7 @@ DEFINE DO_KCS = 0 gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|8000 } + +!ifdef $(RENESAS_XHCI_FW_DIR) + OpenPlatformPkg/Drivers/Xhci/RenesasFirmwarePD720202/RenesasFirmwarePD720202.inf +!endif diff --git a/Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf b/Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf index 428711b09168..7a75197858be 100644 --- a/Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf +++ b/Platforms/AMD/Styx/CelloBoard/CelloBoard.fdf @@ -218,6 +218,16 @@ READ_LOCK_STATUS = TRUE # INF OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxRngDxe/StyxRngDxe.inf
+ # + # Renesas PD720202 XHCI firmware uploader, requires firmware image + # in directory $(RENESAS_XHCI_FW_DIR) + # +!ifdef $(RENESAS_XHCI_FW_DIR) + INF OpenPlatformPkg/Drivers/Xhci/RenesasFirmwarePD720202/RenesasFirmwarePD720202.inf + FILE FREEFORM = A059EBC4-D73D-4279-81BF-E4A89308B923 { + SECTION RAW = $(RENESAS_XHCI_FW_DIR)/K2013080.mem + } +!endif
[FV.STYX_EFI] FvAlignment = 16