mach-sc5xx: Add USB boot command

Add the USB boot command to the environments
of the boards that support it.

Signed-off-by: Caleb Ethridge <caleb.ethridge@analog.com>
This commit is contained in:
Caleb Ethridge
2026-05-21 09:53:17 -04:00
committed by Tom Rini
parent 3b9b94ef68
commit a29a895bdc
8 changed files with 15 additions and 0 deletions

View File

@@ -67,3 +67,11 @@ ramboot=wget ${loadaddr} ${serverip}:/fitImage;
run ramargs;
bootm ${loadaddr}
#endif
#if defined(USE_USB)
usbargs=setenv bootargs root=/dev/sda2 rw rootfstype=ext4 rootwait ${adi_bootargs}
usbboot=usb start;
run usbargs;
ext4load usb 0:1 ${loadaddr} /fitImage;
bootm ${loadaddr}
#endif