mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
test: Add test for new command pci_mps
Adds a test for the new pci_mps command to ensure that it can set the Maximum Payload Size (MPS) of all devices to 256 bytes in the sandbox environment. Enables the pci_mps command in the sandbox environment so that this test can be run. Signed-off-by: Stephen Carlson <stcarlso@linux.microsoft.com>
This commit is contained in:
committed by
Tom Rini
parent
713db6f6d3
commit
447dfbc063
@@ -110,6 +110,9 @@ static struct cmd_tbl cmd_ut_sub[] = {
|
||||
#ifdef CONFIG_CMD_LOADM
|
||||
U_BOOT_CMD_MKENT(loadm, CONFIG_SYS_MAXARGS, 1, do_ut_loadm, "", ""),
|
||||
#endif
|
||||
#ifdef CONFIG_CMD_PCI_MPS
|
||||
U_BOOT_CMD_MKENT(pci_mps, CONFIG_SYS_MAXARGS, 1, do_ut_pci_mps, "", ""),
|
||||
#endif
|
||||
#ifdef CONFIG_CMD_SEAMA
|
||||
U_BOOT_CMD_MKENT(seama, CONFIG_SYS_MAXARGS, 1, do_ut_seama, "", ""),
|
||||
#endif
|
||||
@@ -209,6 +212,9 @@ static char ut_help_text[] =
|
||||
#endif
|
||||
#ifdef CONFIG_UT_OVERLAY
|
||||
"\noverlay - device tree overlays"
|
||||
#endif
|
||||
#ifdef CONFIG_CMD_PCI_MPS
|
||||
"\npci_mps - PCI Express Maximum Payload Size"
|
||||
#endif
|
||||
"\nprint - printing things to the console"
|
||||
"\nsetexpr - setexpr command"
|
||||
|
||||
Reference in New Issue
Block a user