aboutsummaryrefslogtreecommitdiff
path: root/cmd/Makefile
diff options
context:
space:
mode:
authorStephen Carlson <stcarlso@linux.microsoft.com>2023-03-10 11:07:13 -0800
committerTom Rini <trini@konsulko.com>2023-03-30 15:09:59 -0400
commit59b1c9be01934222cf773b35de7c8d086dabaef6 (patch)
treef56283a9ea04afe388987fb53faf873336bb6d84 /cmd/Makefile
parent19213d7a65e9e3f8cfd0852599170636c894169e (diff)
downloadu-boot-59b1c9be01934222cf773b35de7c8d086dabaef6.tar.gz
cmd: pci: Add command to set MPS of all PCIe devices
Enable tuning of the PCI Express MPS (Maximum Payload Size) of each device. The Maximum Read Request Size is not altered. The SAFE method uses the largest MPS value supported by all devices in the system for each device. This method is the same algorithm as used by Linux pci=pcie_bus_safe. The PEER2PEER method sets all devices to the minimal (128 byte) MPS, which allows hot plug of devices later that might only support the minimum size, and ensures compatibility of DMA between two devices on the bus. Signed-off-by: Stephen Carlson <stcarlso@linux.microsoft.com>
Diffstat (limited to 'cmd/Makefile')
-rw-r--r--cmd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Makefile b/cmd/Makefile
index d95833b2de..e032091621 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -131,6 +131,7 @@ obj-$(CONFIG_CMD_PART) += part.o
obj-$(CONFIG_CMD_PCAP) += pcap.o
ifdef CONFIG_PCI
obj-$(CONFIG_CMD_PCI) += pci.o
+obj-$(CONFIG_CMD_PCI_MPS) += pci_mps.o
endif
obj-$(CONFIG_CMD_PINMUX) += pinmux.o
obj-$(CONFIG_CMD_PMC) += pmc.o