diff options
| author | Caleb Ethridge <[email protected]> | 2026-05-21 09:53:17 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-06-04 12:24:18 -0600 |
| commit | a29a895bdce9e64f4e0b68ecad44b48927c5ca86 (patch) | |
| tree | 298ca0648f976e79ec2083df08b11a889fe83c69 /include | |
| parent | 3b9b94ef68c6f3a1466a49ff4c482060923aea1b (diff) | |
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 <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/env/adi/adi_boot.env | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/env/adi/adi_boot.env b/include/env/adi/adi_boot.env index be4d8521ac9..00757fe7c99 100644 --- a/include/env/adi/adi_boot.env +++ b/include/env/adi/adi_boot.env @@ -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 |
