Skip to content
Commit 9c8c7954 authored by Jeremy Linton's avatar Jeremy Linton Committed by Ard Biesheuvel
Browse files

Platform/RPi4: Build the PCIe and xHCI drivers into the firmware

This uses the recently introduced NonCoherentIoMmuDxe for PCIe access
and should enable USB device usage in the UEFI environment.

As mentioned in https://lkml.org/lkml/2019/9/9/170

, imposing a 3 GB
DMA limit might be necessary for the 4 GB models so we follow suit by
setting PcdDmaDeviceLimit to 3 GB - 1 in NonCoherentIoMmuDxe.

Note that this patch does not provide xHCI ACPI support because the
required Xhci.asl table will be provided in a later commit.

Signed-off-by: default avatarPete Batard <pete@akeo.ie>
Acked-by: default avatarPhilippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
parent 975b403d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment