]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: zynqmp: Add usb_pgood_delay for SOM boards
authorPrasad Kummari <prasad.kummari@amd.com>
Tue, 7 Jan 2025 12:29:15 +0000 (17:59 +0530)
committerMichal Simek <michal.simek@amd.com>
Wed, 5 Feb 2025 15:22:55 +0000 (16:22 +0100)
Add usb_pgood_delay to ensure proper detection of USB devices.
Increase the USB power good delay on the SOM boards, as this
is required for certain USB sticks otherwise, they may not
be detected.

Signed-off-by: Prasad Kummari <prasad.kummari@amd.com>
Link: https://lore.kernel.org/r/20250107122915.1378284-1-prasad.kummari@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
board/xilinx/zynqmp/zynqmp_kria.env
include/configs/xilinx_zynqmp.h

index b0c2ac6f2e86f28044fd7707ee317b9f959c95f1..75b604a1f76711239280978a7c9ae83732ecce02 100644 (file)
@@ -43,6 +43,7 @@ script_size_f=0x80000
 scriptaddr=0x20000000
 usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi
 preboot=setenv boot_targets; setenv modeboot; run board_setup
+usb_pgood_delay=1000
 
 # SOM specific boot methods
 usb_boot_devices='usb0 usb1 usb2 usb3 usb4'
index bb0db7c5ca31dccad9454f29d725dfa8f87ef81f..13941ba35891adc278e96e65fbd386e4ab66300b 100644 (file)
 #ifndef CFG_EXTRA_ENV_SETTINGS
 #define CFG_EXTRA_ENV_SETTINGS \
        ENV_MEM_LAYOUT_SETTINGS \
+       "usb_pgood_delay=1000\0" \
        BOOTENV
 #endif